fixed path to linux install folderfixed path to installed application in linux
This commit is contained in:
parent
d0379fdede
commit
c2b02a45a2
2 changed files with 4 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue