From 5c7a149167802902c1632b8062df2969f4680b04 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Sun, 25 Nov 2018 18:42:51 +0530 Subject: macOS: Remove MainMenu.xib When there's no xib, we should explicitly set the app delegate, so we override NSApplication and set the app delegate in NSApplication.shared Signed-off-by: Roopesh Chander --- WireGuard/WireGuard/UI/macOS/Info.plist | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'WireGuard/WireGuard/UI/macOS/Info.plist') diff --git a/WireGuard/WireGuard/UI/macOS/Info.plist b/WireGuard/WireGuard/UI/macOS/Info.plist index 0c09003..1dc6733 100644 --- a/WireGuard/WireGuard/UI/macOS/Info.plist +++ b/WireGuard/WireGuard/UI/macOS/Info.plist @@ -24,10 +24,8 @@ $(MACOSX_DEPLOYMENT_TARGET) NSHumanReadableCopyright Copyright © 2018 WireGuard LLC. All rights reserved. - NSMainNibFile - MainMenu NSPrincipalClass - NSApplication + WireGuard.Application com.wireguard.macos.app_group_id $(DEVELOPMENT_TEAM).group.$(APP_ID_MACOS) -- cgit v1.2.3-59-g8ed1b