From d20c082deb1e3975cfcad7827593894d2af142f7 Mon Sep 17 00:00:00 2001 From: MystiPanda Date: Thu, 18 Jul 2024 14:38:31 +0800 Subject: [PATCH] fix: windows x86 updater url --- scripts/updater.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/updater.mjs b/scripts/updater.mjs index 34be835..6ecb62d 100644 --- a/scripts/updater.mjs +++ b/scripts/updater.mjs @@ -72,12 +72,12 @@ async function resolveUpdater() { } // win32 url - if (name.endsWith("x64-setup.nsis.zip")) { + if (name.endsWith("x86-setup.nsis.zip")) { updateData.platforms["windows-x86"].url = browser_download_url; updateData.platforms["windows-i686"].url = browser_download_url; } // win32 signature - if (name.endsWith("x64-setup.nsis.zip.sig")) { + if (name.endsWith("x86-setup.nsis.zip.sig")) { const sig = await getSignature(browser_download_url); updateData.platforms["windows-x86"].signature = sig; updateData.platforms["windows-i686"].signature = sig;