From a8c74e39c210d5259312fefea63e5a8f20ebab42 Mon Sep 17 00:00:00 2001 From: keiko233 Date: Thu, 16 Nov 2023 10:56:03 +0800 Subject: [PATCH] chore: remove un supported platform * I don't have the relevant equipment to test with * May support in future --- scripts/updater.mjs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/updater.mjs b/scripts/updater.mjs index 03857bd..e1200bc 100644 --- a/scripts/updater.mjs +++ b/scripts/updater.mjs @@ -41,7 +41,6 @@ async function resolveUpdater() { win64: { signature: "", url: "" }, // compatible with older formats linux: { signature: "", url: "" }, // compatible with older formats darwin: { signature: "", url: "" }, // compatible with older formats - "darwin-aarch64": { signature: "", url: "" }, "darwin-intel": { signature: "", url: "" }, "darwin-x86_64": { signature: "", url: "" }, "linux-x86_64": { signature: "", url: "" }, @@ -78,16 +77,6 @@ async function resolveUpdater() { updateData.platforms["darwin-x86_64"].signature = sig; } - // darwin url (aarch) - if (name.endsWith("aarch64.app.tar.gz")) { - updateData.platforms["darwin-aarch64"].url = browser_download_url; - } - // darwin signature (aarch) - if (name.endsWith("aarch64.app.tar.gz.sig")) { - const sig = await getSignature(browser_download_url); - updateData.platforms["darwin-aarch64"].signature = sig; - } - // linux url if (name.endsWith(".AppImage.tar.gz")) { updateData.platforms.linux.url = browser_download_url;