update.gz not update.tar.gz

This commit is contained in:
Headshotnoby 2021-06-22 12:14:19 -04:00
parent 517265f17c
commit 8b2a93bdf0

View File

@ -20,7 +20,7 @@ def extractzip(progressbar): # Windows and Mac
os.system("mv appbase AO2XP.app/Contents/Resources/base") # 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.gz")
archive.extractall() archive.extractall()