mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
fixed path to linux install folderfixed path to installed application in linux
This commit is contained in:
@@ -127,3 +127,6 @@ captures/
|
|||||||
# Android Profiling
|
# Android Profiling
|
||||||
*.hprof
|
*.hprof
|
||||||
client/3rd/ShadowSocks/ss_ios.xcconfig
|
client/3rd/ShadowSocks/ss_ios.xcconfig
|
||||||
|
|
||||||
|
# UML generated pics
|
||||||
|
out/
|
||||||
@@ -26,7 +26,7 @@ function appInstalled()
|
|||||||
} else if (runningOnMacOS()){
|
} else if (runningOnMacOS()){
|
||||||
appInstalledUninstallerPath = "/Applications/" + appName() + ".app/maintenancetool.app/Contents/MacOS/maintenancetool";
|
appInstalledUninstallerPath = "/Applications/" + appName() + ".app/maintenancetool.app/Contents/MacOS/maintenancetool";
|
||||||
} else if (runningOnLinux()){
|
} else if (runningOnLinux()){
|
||||||
allInstalledUninstallerPath = "/opt/" + appName();
|
appInstalledUninstallerPath = "/opt/" + appName();
|
||||||
}
|
}
|
||||||
|
|
||||||
return installer.fileExists(appInstalledUninstallerPath) || installer.fileExists(appInstalledUninstallerPath_x86);
|
return installer.fileExists(appInstalledUninstallerPath) || installer.fileExists(appInstalledUninstallerPath_x86);
|
||||||
|
|||||||
Reference in New Issue
Block a user