how do you forget this fuckin line

This commit is contained in:
Headshotnoby 2021-06-22 22:12:40 -04:00
parent 53163ff975
commit 0b4daa5e93

View File

@ -187,6 +187,7 @@ class updateThread(QtCore.QThread):
print "downloaded update"
downloadfile.close()
if platform.system() == "Darwin" and ".app" in sys.argv[0]: # bundle
path = "/".join(sys.argv[0].split("/")[:-1]) # to Resources folder
os.system("cp -r "+path+"/base ./appbase") # move the base folder out of the app folder to avoid deletion
returncode = 0
else: