diff -r 43528a30213a -r fa560567d555 scripts/uninstall.py --- a/scripts/uninstall.py Fri Oct 27 14:43:37 2023 +0200 +++ b/scripts/uninstall.py Sat Oct 28 13:15:37 2023 +0200 @@ -24,7 +24,10 @@ pyModDir = None progLanguages = ["MicroPython", "Python3", "QSS"] defaultMacAppBundleName = "eric7.app" -defaultMacAppBundlePath = "/Applications" +if os.getuid() == 0: + defaultMacAppBundlePath = "/Applications" +else: + defaultMacAppBundlePath = os.path.expanduser("~/Applications") settingsNameOrganization = "Eric7" settingsNameGlobal = "eric7"