diff --git a/MultiMate_Player.py b/MultiMate_Player.py index d0ac48f..7e37bf8 100644 --- a/MultiMate_Player.py +++ b/MultiMate_Player.py @@ -690,8 +690,9 @@ def updateAppPy(): archfile.extractall("resources") os.remove('resources/resources.zip') urllib.request.urlretrieve("https://raw.githubusercontent.com/BarsTiger/MultiMatePlayer/master/MultiMate_Player.py", 'MultiMate_Player.py') - uiUpd.updateButton.setText("I will crash, reopen pls") - sys.exit() + subprocess.Popen(sys.executable + ' MultiMate_Player.py') + time.sleep(0.5) + exit() MainWindow.show() cls()