fix mac issues

This commit is contained in:
2025-07-12 05:51:07 -07:00
parent afb8457489
commit 2cdeeef5b4
2 changed files with 13 additions and 9 deletions

View File

@ -11,7 +11,6 @@ import (
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
)
@ -70,6 +69,11 @@ func main() {
fmt.Printf("%d files are already up to date\n\n", stats.current)
}
if configRun {
fmt.Println("Configuration complete!")
os.Exit(0)
}
if updateOnlyFlag {
os.Exit(0)
}
@ -81,9 +85,6 @@ func main() {
fmt.Println("Starting Epoch...")
var cmd = strings.Split(config.LaunchCmd, " ")
if runtime.GOOS == "darwin" {
cmd = append([]string{"open"}, cmd...)
}
ex := exec.Command(cmd[0], cmd[1:]...)
cmdStr := strings.Join(cmd, " ")
if config.WinePrefix != "" {