fix: bug in linux
This commit is contained in:
@@ -14,7 +14,7 @@ func ExecuteCmd(executablePath, args string, background bool) (string, error) {
|
|||||||
if appimage := os.Getenv("APPIMAGE"); appimage != "" {
|
if appimage := os.Getenv("APPIMAGE"); appimage != "" {
|
||||||
executablePath = appimage + " HiddifyService"
|
executablePath = appimage + " HiddifyService"
|
||||||
if !background {
|
if !background {
|
||||||
return nil, fmt.Errorf("Appimage can not have service")
|
return "Fail", fmt.Errorf("Appimage can not have service")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user