We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d62d549 + 751eaaa commit 1ba9f2bCopy full SHA for 1ba9f2b
1 file changed
src/Config.py
@@ -71,7 +71,7 @@ def getStartDir(self):
71
elif this_file.endswith("/core/src/Config.py"):
72
# Running as exe or source is at Application Support directory, put var files to outside of core dir
73
start_dir = this_file.replace("/core/src/Config.py", "")
74
- elif this_file.endswith("usr/share/zeronet/src/Config.py"):
+ elif not os.access(this_file.replace('/src/Config.py', ''), os.R_OK | os.W_OK):
75
# Running from non-writeable location, e.g., AppImage
76
start_dir = os.path.expanduser("~/ZeroNet")
77
else:
0 commit comments