From dd4ab783a505d9b3e17d11f70b5615af3f6756cd Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Fri, 12 Jul 2024 19:58:39 +0800 Subject: [PATCH] chore: update proxy url --- src-tauri/tauri.conf.json | 2 +- src-tauri/webview.arm64.json | 10 +++++++--- src-tauri/webview.x64.json | 10 +++++++--- src-tauri/webview.x86.json | 10 +++++++--- updater/updater-for-fix-runtime.mjs | 6 +++--- updater/updater.mjs | 12 ++++++------ 6 files changed, 31 insertions(+), 19 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5497bf7a8b..319d28e072 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -116,7 +116,7 @@ "active": true, "dialog": false, "endpoints": [ - "https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update.json", + "https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update.json", "https://github.com/pot-app/pot-desktop/releases/download/updater/update.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVBRTQxQTNDQjM5QzQzM0EKUldRNlE1eXpQQnJrV21mM1Bram5LRlF6UDA3K0Jab2FYL2lZSWhXTE5McWs2NUdJS0dtYkd5VGMK" diff --git a/src-tauri/webview.arm64.json b/src-tauri/webview.arm64.json index f9c0064d24..e47f01c7d4 100644 --- a/src-tauri/webview.arm64.json +++ b/src-tauri/webview.arm64.json @@ -18,7 +18,11 @@ "installerIcon": "icons/icon.ico", "license": "../LICENSE", "installMode": "perMachine", - "languages": ["SimpChinese", "TradChinese", "English"] + "languages": [ + "SimpChinese", + "TradChinese", + "English" + ] } } }, @@ -26,10 +30,10 @@ "active": true, "dialog": false, "endpoints": [ - "https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json", + "https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json", "https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVBRTQxQTNDQjM5QzQzM0EKUldRNlE1eXpQQnJrV21mM1Bram5LRlF6UDA3K0Jab2FYL2lZSWhXTE5McWs2NUdJS0dtYkd5VGMK" } } -} +} \ No newline at end of file diff --git a/src-tauri/webview.x64.json b/src-tauri/webview.x64.json index 968fc5fc58..82cac8fd41 100644 --- a/src-tauri/webview.x64.json +++ b/src-tauri/webview.x64.json @@ -18,7 +18,11 @@ "installerIcon": "icons/icon.ico", "license": "../LICENSE", "installMode": "perMachine", - "languages": ["SimpChinese", "TradChinese", "English"] + "languages": [ + "SimpChinese", + "TradChinese", + "English" + ] } } }, @@ -26,10 +30,10 @@ "active": true, "dialog": false, "endpoints": [ - "https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json", + "https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json", "https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVBRTQxQTNDQjM5QzQzM0EKUldRNlE1eXpQQnJrV21mM1Bram5LRlF6UDA3K0Jab2FYL2lZSWhXTE5McWs2NUdJS0dtYkd5VGMK" } } -} +} \ No newline at end of file diff --git a/src-tauri/webview.x86.json b/src-tauri/webview.x86.json index a3dbda4762..12093d8301 100644 --- a/src-tauri/webview.x86.json +++ b/src-tauri/webview.x86.json @@ -18,7 +18,11 @@ "installerIcon": "icons/icon.ico", "license": "../LICENSE", "installMode": "perMachine", - "languages": ["SimpChinese", "TradChinese", "English"] + "languages": [ + "SimpChinese", + "TradChinese", + "English" + ] } } }, @@ -26,10 +30,10 @@ "active": true, "dialog": false, "endpoints": [ - "https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json", + "https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json", "https://github.com/pot-app/pot-desktop/releases/download/updater/update-fix-runtime.json" ], "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDVBRTQxQTNDQjM5QzQzM0EKUldRNlE1eXpQQnJrV21mM1Bram5LRlF6UDA3K0Jab2FYL2lZSWhXTE5McWs2NUdJS0dtYkd5VGMK" } } -} +} \ No newline at end of file diff --git a/updater/updater-for-fix-runtime.mjs b/updater/updater-for-fix-runtime.mjs index f9343dcc23..4299443518 100644 --- a/updater/updater-for-fix-runtime.mjs +++ b/updater/updater-for-fix-runtime.mjs @@ -10,11 +10,11 @@ async function resolveUpdater() { let version = await getVersion(TOKEN); let changelog = await getChangeLog(TOKEN); - const windows_x86_64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64_fix_webview2_runtime-setup.nsis.zip`; + const windows_x86_64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64_fix_webview2_runtime-setup.nsis.zip`; const windows_x86_64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64_fix_webview2_runtime-setup.nsis.zip.sig`); - const windows_i686 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x86_fix_webview2_runtime-setup.nsis.zip`; + const windows_i686 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x86_fix_webview2_runtime-setup.nsis.zip`; const windows_i686_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x86_fix_webview2_runtime-setup.nsis.zip.sig`); - const windows_aarch64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_arm64_fix_webview2_runtime-setup.nsis.zip`; + const windows_aarch64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_arm64_fix_webview2_runtime-setup.nsis.zip`; const windows_aarch64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_arm64_fix_webview2_runtime-setup.nsis.zip.sig`); let updateData = { diff --git a/updater/updater.mjs b/updater/updater.mjs index cc4e1e307a..da5a553e1a 100644 --- a/updater/updater.mjs +++ b/updater/updater.mjs @@ -10,17 +10,17 @@ async function resolveUpdater() { let version = await getVersion(TOKEN); let changelog = await getChangeLog(TOKEN); - const darwin_aarch64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_aarch64.app.tar.gz`; + const darwin_aarch64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_aarch64.app.tar.gz`; const darwin_aarch64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_aarch64.app.tar.gz.sig`); - const darwin_x86_64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64.app.tar.gz`; + const darwin_x86_64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64.app.tar.gz`; const darwin_x86_64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64.app.tar.gz.sig`); - const windows_x86_64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64-setup.nsis.zip`; + const windows_x86_64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64-setup.nsis.zip`; const windows_x86_64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x64-setup.nsis.zip.sig`); - const windows_i686 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x86-setup.nsis.zip`; + const windows_i686 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x86-setup.nsis.zip`; const windows_i686_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_x86-setup.nsis.zip.sig`); - const windows_aarch64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_arm64-setup.nsis.zip`; + const windows_aarch64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_arm64-setup.nsis.zip`; const windows_aarch64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_arm64-setup.nsis.zip.sig`); - const linux_x86_64 = `https://gh.pylogmon.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_amd64.AppImage.tar.gz`; + const linux_x86_64 = `https://dl.pot-app.com/https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_amd64.AppImage.tar.gz`; const linux_x86_64_sig = await getSignature(`https://github.com/pot-app/pot-desktop/releases/download/${version}/pot_${version}_amd64.AppImage.tar.gz.sig`); let updateData = {