fix: bug in linux

This commit is contained in:
Hiddify
2024-02-14 16:09:15 +01:00
parent 3111671d6e
commit 62ae66238d

View File

@@ -14,7 +14,7 @@ func ExecuteCmd(executablePath, args string, background bool) (string, error) {
if appimage := os.Getenv("APPIMAGE"); appimage != "" {
executablePath = appimage + " HiddifyService"
if !background {
return nil, fmt.Errorf("Appimage can not have service")
return "Fail", fmt.Errorf("Appimage can not have service")
}
}