mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
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:
1 parent
15483815ff
commit
83bb5354dc
5 files changed
+24
-56
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user