Merge pull request #315 from cuu/master

bug fix
This commit is contained in:
GNU 2019-12-25 21:06:51 +08:00 committed by GitHub
commit 1219a615fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -920,6 +920,7 @@ class GameStorePage(Page):
self._Screen._MsgBox.SetText("Purchase pico8")
self._Screen._MsgBox.Draw()
self._Screen.SwapAndShow()
pygame.time.delay(800)
if cur_li._Value["type"]=="tic80" and cur_li._ReadOnly == False:
game_sh = "/home/cpi/apps/Menu/51_TIC-80/TIC-80.sh"

View File

@ -272,6 +272,7 @@ class MyCommercialSoftwarePackage(object):
os.chdir(json_config["GameDir"])
for i,v in enumerate(json_config["MD5"]):
if FileExists(v):
os.system("unzip -o %s" %v) ## auto overwrite
if "Post-Up" in json_config: