Skip to content

Commit

Permalink
chore: update proxy url
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Jul 12, 2024
1 parent 2391159 commit dd4ab78
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
10 changes: 7 additions & 3 deletions src-tauri/webview.arm64.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@
"installerIcon": "icons/icon.ico",
"license": "../LICENSE",
"installMode": "perMachine",
"languages": ["SimpChinese", "TradChinese", "English"]
"languages": [
"SimpChinese",
"TradChinese",
"English"
]
}
}
},
"updater": {
"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"
}
}
}
}
10 changes: 7 additions & 3 deletions src-tauri/webview.x64.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@
"installerIcon": "icons/icon.ico",
"license": "../LICENSE",
"installMode": "perMachine",
"languages": ["SimpChinese", "TradChinese", "English"]
"languages": [
"SimpChinese",
"TradChinese",
"English"
]
}
}
},
"updater": {
"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"
}
}
}
}
10 changes: 7 additions & 3 deletions src-tauri/webview.x86.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,22 @@
"installerIcon": "icons/icon.ico",
"license": "../LICENSE",
"installMode": "perMachine",
"languages": ["SimpChinese", "TradChinese", "English"]
"languages": [
"SimpChinese",
"TradChinese",
"English"
]
}
}
},
"updater": {
"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"
}
}
}
}
6 changes: 3 additions & 3 deletions updater/updater-for-fix-runtime.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
12 changes: 6 additions & 6 deletions updater/updater.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit dd4ab78

Please sign in to comment.