diff options
Diffstat (limited to 'mvc/osx')
-rw-r--r-- | mvc/osx/__init__.py | 0 | ||||
-rw-r--r-- | mvc/osx/app_main.py | 12 | ||||
-rw-r--r-- | mvc/osx/autoupdate.py | 9 |
3 files changed, 0 insertions, 21 deletions
diff --git a/mvc/osx/__init__.py b/mvc/osx/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/mvc/osx/__init__.py +++ /dev/null diff --git a/mvc/osx/app_main.py b/mvc/osx/app_main.py deleted file mode 100644 index ef52ff6..0000000 --- a/mvc/osx/app_main.py +++ /dev/null @@ -1,12 +0,0 @@ -import os -import sys - -from mvc.osx import autoupdate -from mvc.widgets import app -from mvc.widgets import initialize -from mvc.ui.widgets import Application - -# run the app -autoupdate.initialize() -app.widgetapp = Application() -initialize(app.widgetapp) diff --git a/mvc/osx/autoupdate.py b/mvc/osx/autoupdate.py deleted file mode 100644 index 7b17d47..0000000 --- a/mvc/osx/autoupdate.py +++ /dev/null @@ -1,9 +0,0 @@ -from Foundation import * - -def load_sparkle_framework(): - bundlePath = '%s/Sparkle.framework' % Foundation.NSBundle.mainBundle().privateFrameworksPath() - objc.loadBundle('Sparkle', globals(), bundle_path=bundlePath) - -def initialize(): - load_sparkle_framework() - SUUpdater.sharedUpdater().setAutomaticallyChecksForUpdates_(YES) |