From 95415cd917f39295118236f70987e18cf53d5065 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Thu, 27 Dec 2018 19:14:15 +0530 Subject: macOS: Fix WireGuardmacOS target - Include non-UI code from iOS while building - Add run scripts - Move files to WireGuard/UI/macOS - Set Swift-Obj-C bridging header Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/macOS/AppDelegate.swift | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 WireGuard/WireGuard/UI/macOS/AppDelegate.swift (limited to 'WireGuard/WireGuard/UI/macOS/AppDelegate.swift') diff --git a/WireGuard/WireGuard/UI/macOS/AppDelegate.swift b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift new file mode 100644 index 0000000..fb0094d --- /dev/null +++ b/WireGuard/WireGuard/UI/macOS/AppDelegate.swift @@ -0,0 +1,22 @@ +// SPDX-License-Identifier: MIT +// Copyright © 2018 WireGuard LLC. All Rights Reserved. + +import Cocoa + +@NSApplicationMain +class AppDelegate: NSObject, NSApplicationDelegate { + + @IBOutlet weak var window: NSWindow! + + + func applicationDidFinishLaunching(_ aNotification: Notification) { + // Insert code here to initialize your application + } + + func applicationWillTerminate(_ aNotification: Notification) { + // Insert code here to tear down your application + } + + +} + -- cgit v1.2.3-59-g8ed1b