aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/Info.plist
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2018-11-25 18:42:51 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:29 +0530
commit5c7a149167802902c1632b8062df2969f4680b04 (patch)
tree3df44642568ceef663f17f13d9e4805256a94a6f /WireGuard/WireGuard/UI/macOS/Info.plist
parentmacOS: NE: Add entitlements for making network connections (diff)
downloadwireguard-apple-5c7a149167802902c1632b8062df2969f4680b04.tar.xz
wireguard-apple-5c7a149167802902c1632b8062df2969f4680b04.zip
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 <roop@roopc.net>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/Info.plist')
-rw-r--r--WireGuard/WireGuard/UI/macOS/Info.plist4
1 files changed, 1 insertions, 3 deletions
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 @@
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2018 WireGuard LLC. All rights reserved.</string>
- <key>NSMainNibFile</key>
- <string>MainMenu</string>
<key>NSPrincipalClass</key>
- <string>NSApplication</string>
+ <string>WireGuard.Application</string>
<key>com.wireguard.macos.app_group_id</key>
<string>$(DEVELOPMENT_TEAM).group.$(APP_ID_MACOS)</string>
</dict>