diff --git a/updater.py b/updater.py index 03eaf5e..2960d5c 100644 --- a/updater.py +++ b/updater.py @@ -150,7 +150,7 @@ class updateThread(QtCore.QThread): path = sys.argv[0] if platform.system() == "Darwin": path = Cocoa.NSBundle.mainBundle().bundlePath() - os.chdir(os.path.splitext(path)[0]) # right next to the .app package + os.chdir(os.path.split(path)[0]) # right next to the .app package updatezip = "update" + os.path.splitext(filename)[1] if not os.path.exists(updatezip):