]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
macOS: prohibit multiple instances of app
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 6 Feb 2019 02:32:40 +0000 (03:32 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 6 Feb 2019 05:20:23 +0000 (06:20 +0100)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
WireGuard/WireGuard/UI/macOS/Info.plist

index 3a4ad1879f8b8dd15a7a309a62d0a29e326313fa..a7ff85558ed61514d38229fbaba88112ed43302a 100644 (file)
@@ -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>