From a39e600dcfdc28800e7122ce37cdbcf0b26c506a Mon Sep 17 00:00:00 2001 From: FTCHD <144691102+FTCHD@users.noreply.github.com> Date: Wed, 13 Aug 2025 04:40:50 +0200 Subject: [PATCH] update updater update url Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com> --- src-tauri/tauri.conf.json | 4 +++- src/pages/Settings.tsx | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 414693f..231e915 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -92,7 +92,9 @@ "plugins": { "updater": { "pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDIyNDFENEZGNjFDNTBGOEYKUldTUEQ4VmgvOVJCSWhVZmw0enhmcW1kWFk3TS9mMzBDRjVEZWdxKzQ5ZmRhTlYvT2gvdFNMbE8K", - "endpoints": ["https://github.com/FTCHD/rclone-ui/releases/latest/download/latest.json"] + "endpoints": [ + "https://github.com/rclone-ui/rclone-ui/releases/latest/download/latest.json" + ] }, "fs": { "requireLiteralLeadingDot": false diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx index 7680ccf..407f2c0 100644 --- a/src/pages/Settings.tsx +++ b/src/pages/Settings.tsx @@ -253,7 +253,10 @@ function GeneralSection() { setUpdateButtonText('Checking...') let receivedUpdate: Update | null = null try { - receivedUpdate = await check() + receivedUpdate = await check({ + allowDowngrades: true, + timeout: 30000, + }) } catch (e) { console.error(e) setUpdateButtonText('Failed to check')