DO IT FUCKING RIGHT

This commit is contained in:
Headshotnoby 2021-06-22 20:37:03 -04:00
parent 161535e40a
commit 53163ff975

View File

@ -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")