diff --git a/.gitignore b/.gitignore index 188ef3b..8cdbb4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ cache/ filmatyk/__pycache__/ *.html -*.fws +*.dat *.txt diff --git a/filmatyk/gui.py b/filmatyk/gui.py index a458c0c..bc016c2 100644 --- a/filmatyk/gui.py +++ b/filmatyk/gui.py @@ -220,6 +220,8 @@ def centerWindow(self): #USER DATA MANAGEMENT def getFilename(self): + if self.debugMode: + return self.filename subpath = self.filename userdir = str(Path.home()) return os.path.join(userdir, subpath) @@ -286,7 +288,7 @@ def _quit(self, restart=False): # Updater might request the whole app to restart. In this case, a request # is passed higher to the system shell to launch the app again. if restart: - command = "cd .. && fw-local.bat" + command = "cd .. && Filmatyk.bat" # maintain debug status if self.debugMode: command += " debug"