system.environment.isCarbon value?

Aperta
#2 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
electron
Ambito
desktop

Direzione di ricerca

Search the repository for system.environment.isCarbon and inspect where it is initialized and checked. Trace the callers that require a defined value, then determine the appropriate behavior for the current Electron environment and verify that those checks remain correct.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Claude didn't know what to initialize it to, and neither do I.

IIRC, this was put in when the Mac was transitioning to MacOSX from the old multifinder OS. Many many years ago. If we set it false, which was my first inclination, because this surely isn't the OS that Apple shipped in 1997 or so, that would activate any random code that only ran on System 7. And of course that is funny.

It can't be undefined, there is code that's in use that checks this.

Lingua principale
Nessun dato sulla lingua
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di scripting/helloFrontier

Tutte le issue di scripting/helloFrontier

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.