feat(updates): 使用 Sparkle 从发布 ZIP 下载并重启更新

This commit is contained in:
2026-11-16 16:17:31 +08:00
parent 451d31682d
commit ec37b8e3f9
23 changed files with 716 additions and 219 deletions
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-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>SUAllowsAutomaticUpdates</key>
<false/>
<key>SUEnableAutomaticChecks</key>
<true/>
<key>SUEnableInstallerLauncherService</key>
<true/>
<key>SUFeedURL</key>
<string>https://git.airnan.cn/wangairnan/Kymo/releases/download/latest/appcast.xml</string>
<key>SUPublicEDKey</key>
<string>jOL7AATUmzgitnDff81drd31wiPcYWDujII/KU+uhYI=</string>
<key>SURequireSignedFeed</key>
<true/>
<key>SUScheduledCheckInterval</key>
<integer>21600</integer>
<key>SUShowReleaseNotes</key>
<false/>
<key>SUVerifyUpdateBeforeExtraction</key>
<true/>
</dict>
</plist>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-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>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spks</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spki</string>
</array>
</dict>
</plist>
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-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>com.apple.security.temporary-exception.mach-lookup.global-name</key>
<array>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spks</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)-spki</string>
</array>
</dict>
</plist>
+18
View File
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-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>cdhash</key>
<dict>
<key>$in</key>
<array>
<data>
UZ2SEZ68zg8Ox1KdIRiLa0oRoww=
</data>
<data>
YVeicQp6v0Skchu7R9uuirzJd48=
</data>
</array>
</dict>
</dict>
</plist>