mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
We also now listen on termination for the app that we are going to re-launch, rather than the bundle we are updating.
20 lines
408 B
Objective-C
20 lines
408 B
Objective-C
//
|
|
// AppDelegate.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 AppDelegate : NSObject <NSApplicationDelegate>
|
|
|
|
- (instancetype)initWithUpdateBundlePath:(const char *)updateBundlePath relaunchBundlePath:(const char *)relaunchBundlePath;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|