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 0ae0034..64426d9 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 6ecb62d..fc4cbe3 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 7f6a2a3..b1138b2 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 8079b63..64ce7c5 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 27f772d..085d567 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 ea1eb33..726d16a 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"