diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6639ac3f0a..0f0bef74bc 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -79,7 +79,9 @@ "updater": { "active": true, "dialog": true, - "endpoints": ["https://github.com/Pylogmon/pot/releases/latest/download/update.json"], + "endpoints": [ + "https://gh.pylogmon.cn/https://github.com/Pylogmon/pot/releases/latest/download/update.json" + ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVBRTQxQTNDQjM5QzQzM0EKUldRNlE1eXpQQnJrV21mM1Bram5LRlF6UDA3K0Jab2FYL2lZSWhXTE5McWs2NUdJS0dtYkd5VGMK" }, "windows": [], diff --git a/updater/updater.mjs b/updater/updater.mjs index 823bbee9a0..3ab4932502 100644 --- a/updater/updater.mjs +++ b/updater/updater.mjs @@ -24,10 +24,10 @@ async function resolveUpdater() { notes: changelog, pub_date: new Date().toISOString(), platforms: { - "darwin-aarch64": { signature: darwin_aarch64_sig, url: darwin_aarch64 }, - "darwin-x86_64": { signature: darwin_x86_64_sig, url: darwin_x86_64 }, - "linux-x86_64": { signature: linux_x86_64_sig, url: linux_x86_64 }, - "windows-x86_64": { signature: windows_x86_64_sig, url: windows_x86_64 }, + "darwin-aarch64": { signature: darwin_aarch64_sig, url: 'https://gh.pylogmon.cn/' + darwin_aarch64 }, + "darwin-x86_64": { signature: darwin_x86_64_sig, url: 'https://gh.pylogmon.cn/' + darwin_x86_64 }, + "linux-x86_64": { signature: linux_x86_64_sig, url: 'https://gh.pylogmon.cn/' + linux_x86_64 }, + "windows-x86_64": { signature: windows_x86_64_sig, url: 'https://gh.pylogmon.cn/' + windows_x86_64 }, }, };