Check for updates hourly and stop caching the appcast
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
<true/>
|
||||
<key>SUAutomaticallyUpdate</key>
|
||||
<true/>
|
||||
<key>SUScheduledCheckInterval</key>
|
||||
<integer>3600</integer>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
<dict>
|
||||
<key>NSAllowsArbitraryLoadsInWebContent</key>
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ put() {
|
||||
put "$dmg" "$dmg" application/x-apple-diskimage "public, max-age=31536000, immutable"
|
||||
put "$dmg.sha256" "$dmg.sha256" text/plain "public, max-age=31536000, immutable"
|
||||
put byre.dmg "$dmg" application/x-apple-diskimage "public, max-age=300"
|
||||
put appcast.xml appcast.xml application/xml "public, max-age=300"
|
||||
put appcast.xml appcast.xml application/xml "no-cache"
|
||||
curl -fsS -o /dev/null -X POST -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" -H "Content-Type: application/json" --data '{"files":["https://dl.byre.run/byre.dmg","https://dl.byre.run/appcast.xml"]}' https://api.cloudflare.com/client/v4/zones/b53a5f8cb60313ba6789aba3559cb4b8/purge_cache
|
||||
|
||||
request=$out/release.json
|
||||
|
||||
Reference in New Issue
Block a user