From d45929c604ef66985429c21fd350bc2a7f3d87d5 Mon Sep 17 00:00:00 2001 From: wonfen Date: Sat, 24 Aug 2024 02:02:17 +0800 Subject: [PATCH] chore: use in-house update proxy --- scripts/updater-fixed-webview2.mjs | 2 +- scripts/updater.mjs | 2 +- src-tauri/tauri.conf.json | 2 +- src-tauri/webview2.arm64.json | 2 +- src-tauri/webview2.x64.json | 2 +- src-tauri/webview2.x86.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/updater-fixed-webview2.mjs b/scripts/updater-fixed-webview2.mjs index 0ae00345e..64426d94a 100644 --- a/scripts/updater-fixed-webview2.mjs +++ b/scripts/updater-fixed-webview2.mjs @@ -100,7 +100,7 @@ async function resolveUpdater() { Object.entries(updateDataNew.platforms).forEach(([key, value]) => { if (value.url) { updateDataNew.platforms[key].url = - "https://mirror.ghproxy.com/" + value.url; + "https://download.clashverge.dev/" + value.url; } else { console.log(`[Error]: updateDataNew.platforms.${key} is null`); } diff --git a/scripts/updater.mjs b/scripts/updater.mjs index 6ecb62dcf..fc4cbe35e 100644 --- a/scripts/updater.mjs +++ b/scripts/updater.mjs @@ -150,7 +150,7 @@ async function resolveUpdater() { Object.entries(updateDataNew.platforms).forEach(([key, value]) => { if (value.url) { updateDataNew.platforms[key].url = - "https://mirror.ghproxy.com/" + value.url; + "https://download.clashverge.dev/" + value.url; } else { console.log(`[Error]: updateDataNew.platforms.${key} is null`); } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 7f6a2a336..b1138b2a1 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -32,7 +32,7 @@ "updater": { "active": true, "endpoints": [ - "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json", + "https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-proxy.json", "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update.json" ], "dialog": false, diff --git a/src-tauri/webview2.arm64.json b/src-tauri/webview2.arm64.json index 8079b63ab..64ce7c5e8 100644 --- a/src-tauri/webview2.arm64.json +++ b/src-tauri/webview2.arm64.json @@ -29,7 +29,7 @@ "active": true, "dialog": false, "endpoints": [ - "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2-proxy.json", + "https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2-proxy.json", "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK" diff --git a/src-tauri/webview2.x64.json b/src-tauri/webview2.x64.json index 27f772d4d..085d56728 100644 --- a/src-tauri/webview2.x64.json +++ b/src-tauri/webview2.x64.json @@ -29,7 +29,7 @@ "active": true, "dialog": false, "endpoints": [ - "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2-proxy.json", + "https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2-proxy.json", "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK" diff --git a/src-tauri/webview2.x86.json b/src-tauri/webview2.x86.json index ea1eb337d..726d16a17 100644 --- a/src-tauri/webview2.x86.json +++ b/src-tauri/webview2.x86.json @@ -29,7 +29,7 @@ "active": true, "dialog": false, "endpoints": [ - "https://mirror.ghproxy.com/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2-proxy.json", + "https://download.clashverge.dev/https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2-proxy.json", "https://github.com/clash-verge-rev/clash-verge-rev/releases/download/updater/update-fixed-webview2.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQyOEMyRjBCQkVGOUJEREYKUldUZnZmbStDeStNMHU5Mmo1N24xQXZwSVRYbXA2NUpzZE5oVzlqeS9Bc0t6RVV4MmtwVjBZaHgK"