Use NSRunLoop instead of NSApplication

Don't use AppKit where we don't have to, especially for command line tools
This commit is contained in:
Zorg committed 2016-04-30 23:02:21 -04:00
1 parent 15483815ff
commit 83bb5354dc
5 files changed
+24 -56

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
//
// SUCommandLineDriver.h
// sparkle-cli
//
// Created by Mayur Pawashe on 4/10/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@interface SUCommandLineDriver : NSObject
- (instancetype)initWithUpdateBundlePath:(const char *)updateBundlePath relaunchBundlePath:(const char *)relaunchBundlePath;
- (void)run;
@end
NS_ASSUME_NONNULL_END