diff options
Diffstat (limited to 'lvc/osx/autoupdate.py')
-rw-r--r-- | lvc/osx/autoupdate.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lvc/osx/autoupdate.py b/lvc/osx/autoupdate.py index 7b17d47..617cb97 100644 --- a/lvc/osx/autoupdate.py +++ b/lvc/osx/autoupdate.py @@ -1,9 +1,11 @@ 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) |