chore: fix updater
This commit is contained in:
parent
c843bddbfe
commit
17a2722e6d
@ -68,12 +68,14 @@ async function resolveUpdater() {
|
|||||||
if (name.endsWith(".app.tar.gz") && !name.includes("aarch")) {
|
if (name.endsWith(".app.tar.gz") && !name.includes("aarch")) {
|
||||||
updateData.platforms.darwin.url = browser_download_url;
|
updateData.platforms.darwin.url = browser_download_url;
|
||||||
updateData.platforms["darwin-intel"].url = browser_download_url;
|
updateData.platforms["darwin-intel"].url = browser_download_url;
|
||||||
|
updateData.platforms["darwin-x86_64"].url = browser_download_url;
|
||||||
}
|
}
|
||||||
// darwin signature (intel)
|
// darwin signature (intel)
|
||||||
if (name.endsWith(".app.tar.gz.sig") && !name.includes("aarch")) {
|
if (name.endsWith(".app.tar.gz.sig") && !name.includes("aarch")) {
|
||||||
const sig = await getSignature(browser_download_url);
|
const sig = await getSignature(browser_download_url);
|
||||||
updateData.platforms.darwin.signature = sig;
|
updateData.platforms.darwin.signature = sig;
|
||||||
updateData.platforms["darwin-intel"].signature = sig;
|
updateData.platforms["darwin-intel"].signature = sig;
|
||||||
|
updateData.platforms["darwin-x86_64"].signature = sig;
|
||||||
}
|
}
|
||||||
|
|
||||||
// darwin url (aarch)
|
// darwin url (aarch)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user