aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-02-06 03:32:40 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-02-06 06:20:23 +0100
commit0cddb562fc020022691176ca9fd0383bfe899258 (patch)
tree644563ed54b6f98e9888afdc947e3a63dd937c9a
parentPrivateDataConfirmation: prompt with touch/face/pin/password ID for viewing/exporting keys (diff)
downloadwireguard-apple-0cddb562fc020022691176ca9fd0383bfe899258.tar.xz
wireguard-apple-0cddb562fc020022691176ca9fd0383bfe899258.zip
macOS: prohibit multiple instances of app
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--WireGuard/WireGuard/UI/macOS/Info.plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/Info.plist b/WireGuard/WireGuard/UI/macOS/Info.plist
index 3a4ad187..a7ff8555 100644
--- a/WireGuard/WireGuard/UI/macOS/Info.plist
+++ b/WireGuard/WireGuard/UI/macOS/Info.plist
@@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+ <key>LSMultipleInstancesProhibited</key>
+ <true/>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>