windows is bs

This commit is contained in:
partisan 2024-09-10 23:30:34 +02:00
parent 8d6f46c4ca
commit 3a36e4dda5
2 changed files with 26 additions and 23 deletions

View file

@ -67,6 +67,12 @@ func printHelp() {
}
func main() {
// Check and set the MOZILLABUILD environment variable globally
err2 := spitfire.SetGlobalEnv("MOZILLABUILD", "C:\\mozilla-build", "user") // For user
if err2 != nil {
log.Fatalf("Error setting global environment variable: %v", err2)
}
flag.Parse()
if flag.Lookup("h").Value.(flag.Getter).Get().(bool) {