how do you forget this fuckin line
This commit is contained in:
parent
53163ff975
commit
0b4daa5e93
@ -187,6 +187,7 @@ class updateThread(QtCore.QThread):
|
|||||||
print "downloaded update"
|
print "downloaded update"
|
||||||
downloadfile.close()
|
downloadfile.close()
|
||||||
if platform.system() == "Darwin" and ".app" in sys.argv[0]: # bundle
|
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
|
os.system("cp -r "+path+"/base ./appbase") # move the base folder out of the app folder to avoid deletion
|
||||||
returncode = 0
|
returncode = 0
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user