DO IT FUCKING RIGHT
This commit is contained in:
parent
161535e40a
commit
53163ff975
@ -17,7 +17,7 @@ def extractzip(progressbar): # Windows and Mac
|
|||||||
progressbar["value"] = 100. * i / len(archive.filelist)
|
progressbar["value"] = 100. * i / len(archive.filelist)
|
||||||
|
|
||||||
if os.path.exists("appbase"): # on a mac with the base folder moved out of .app Resources folder
|
if os.path.exists("appbase"): # on a mac with the base folder moved out of .app Resources folder
|
||||||
os.system("mv appbase AO2XP.app/Contents/Resources/") # put it back in place
|
os.system("mv appbase AO2XP.app/Contents/Resources/base") # put it back in place
|
||||||
|
|
||||||
def extractgz(progressbar): # Linux
|
def extractgz(progressbar): # Linux
|
||||||
archive = tarfile.open("update.tar.gz")
|
archive = tarfile.open("update.tar.gz")
|
||||||
|
Loading…
Reference in New Issue
Block a user