fix: url test rule

This commit is contained in:
arm64v8a
2022-12-06 10:57:25 +09:00
parent a94234e699
commit 8d348e02c5
3 changed files with 66 additions and 75 deletions

View File

@@ -40,7 +40,11 @@ func main() {
// 1. update files
Updater()
// 2. start
Launcher()
if os.Getenv("NKR_FROM_LAUNCHER") == "1" {
Launcher()
} else {
exec.Command("./nekoray").Start()
}
}
return
} else if strings.HasPrefix(strings.ToLower(exe), "launcher") {