diff -r 43528a30213a -r fa560567d555 scripts/install.py --- a/scripts/install.py Fri Oct 27 14:43:37 2023 +0200 +++ b/scripts/install.py Sat Oct 28 13:15:37 2023 +0200 @@ -53,7 +53,10 @@ eric7SourceDir = "" configName = "eric7config.py" defaultMacAppBundleName = "eric7.app" -defaultMacAppBundlePath = "/Applications" +if os.getuid() == 0: + defaultMacAppBundlePath = "/Applications" +else: + defaultMacAppBundlePath = os.path.expanduser("~/Applications") defaultMacPythonExe = "{0}/Resources/Python.app/Contents/MacOS/Python".format( sys.exec_prefix )