chore: update aarch rule

This commit is contained in:
GyDi 2022-07-07 02:54:20 +08:00
parent aaa4fbcdbd
commit 5e8dfe7267
No known key found for this signature in database
GPG Key ID: 58B15242BA8277A6

View File

@ -83,11 +83,11 @@ async function resolveUpdater() {
}
// darwin url (aarch)
if (name.endsWith("aarch.app.tar.gz")) {
if (name.endsWith("aarch64.app.tar.gz")) {
updateData.platforms["darwin-aarch64"].url = browser_download_url;
}
// darwin signature (aarch)
if (name.endsWith("aarch.app.tar.gz.sig")) {
if (name.endsWith("aarch64.app.tar.gz.sig")) {
const sig = await getSignature(browser_download_url);
updateData.platforms["darwin-aarch64"].signature = sig;
}