mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-04 07:29:56 +08:00

* Update nsis template * Move app data into config.yml * mac support * Add FileAssociations application config option Support `ApplicationOpenedWithFile` event on Windows Add docs * Add FileAssociations application config option Support `ApplicationOpenedWithFile` event on Windows Add docs Add test project * Update example & docs. Fix show window bug. * Fix window show event bug * Update changelog
17 lines
352 B
Objective-C
17 lines
352 B
Objective-C
//go:build darwin
|
|
|
|
#ifndef appdelegate_h
|
|
#define appdelegate_h
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface AppDelegate : NSResponder <NSApplicationDelegate>
|
|
@property bool shouldTerminateWhenLastWindowClosed;
|
|
@property bool shuttingDown;
|
|
- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app;
|
|
@end
|
|
|
|
extern void HandleOpenFile(char *);
|
|
|
|
#endif
|