diff options
author | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-04-19 02:09:16 -0400 |
---|---|---|
committer | Kenneth Chew <kenneth.c0@protonmail.com> | 2022-05-19 15:16:37 -0400 |
commit | 7eb61a28be3b66c1016eab434ae93b5d94eb11af (patch) | |
tree | 1500f8655c105b4824ef49018aee1214194e96ad /cmake | |
parent | 92b913ca3740ea1aa799a69d65dc13d0c3612b87 (diff) | |
download | PrismLauncher-7eb61a28be3b66c1016eab434ae93b5d94eb11af.tar.gz PrismLauncher-7eb61a28be3b66c1016eab434ae93b5d94eb11af.tar.bz2 PrismLauncher-7eb61a28be3b66c1016eab434ae93b5d94eb11af.zip |
Add build options for Sparkle updater
Two new build options are added:
`MAC_SPARKLE_PUB_KEY`: the public key used to verify the signatures of the appcast
`MAC_SPARKLE_APPCAST_URL`: the URL where the `appcast.xml` is located
If the updater should be disabled on macOS, set either of these to an empty string.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/MacOSXBundleInfo.plist.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/MacOSXBundleInfo.plist.in b/cmake/MacOSXBundleInfo.plist.in index 9e663d31..1b22e21f 100644 --- a/cmake/MacOSXBundleInfo.plist.in +++ b/cmake/MacOSXBundleInfo.plist.in @@ -40,5 +40,9 @@ <true/> <key>NSHumanReadableCopyright</key> <string>${MACOSX_BUNDLE_COPYRIGHT}</string> + <key>SUPublicEDKey</key> + <string>${MACOSX_SPARKLE_UPDATE_PUBLIC_KEY}</string> + <key>SUFeedURL</key> + <string>${MACOSX_SPARKLE_UPDATE_FEED_URL}</string> </dict> </plist> |