Mac OSX Launcher: main.mm updated to use the new swift main class name.

This commit is contained in:
meeh
2019-05-02 23:00:44 +00:00
parent 5f689ccbd4
commit e45963dbcb

View File

@ -72,7 +72,8 @@ using namespace subprocess;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
// Init application here
self.swiftRuntime = [[SwiftMainDelegate alloc] init];
// Here we initialize the swift code which would do most of the job from now on.
self.swiftRuntime = [[SwiftApplicationDelegate alloc] init];
// This setup allows the application to send notifications
[[NSUserNotificationCenter defaultUserNotificationCenter] setDelegate:self];