From 6dc4b5e5a42a1075d50a517deb24bcc45226f2e2 Mon Sep 17 00:00:00 2001 From: mswgen <54498184+mswgen@users.noreply.github.com> Date: Thu, 16 Nov 2023 22:56:39 +0900 Subject: [PATCH] fix download url --- package.json | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e0d52b5..7995d70 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oc-updater", "productName": "OpenCore Updater", - "version": "1.2.21", + "version": "1.2.22", "description": "OpenCore Updater", "main": "dist/index.js", "scripts": { diff --git a/src/index.ts b/src/index.ts index 105158f..433bb86 100644 --- a/src/index.ts +++ b/src/index.ts @@ -272,7 +272,7 @@ electron.ipcMain.on('download-kexts', async (evt, kexts) => { } if (kexts.includes('AirportItlwm.kext')) { kextsToDownload.push({ - url: os.release().startsWith('23.') ? 'https://github.com/mswgen/oc-updater/blob/v1/AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-ff1138b.zip' + url: os.release().startsWith('23.') ? 'https://raw.githubusercontent.com/mswgen/oc-updater/v1/AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-ff1138b.zip' : `https://github.com/OpenIntelWireless/itlwm/releases/download/v${versions.itlwm}/AirportItlwm_v${versions.itlwm}_stable_${/*os.release().startsWith('23.') ? 'Sonoma' : */(os.release().startsWith('22.') ? 'Ventura' : (os.release().startsWith('21.') ? 'Monterey' : (os.release().startsWith('20.') ? 'BigSur' : (os.release().startsWith('19.') ? 'Catalina' : (os.release().startsWith('18.') ? 'Mojave' : 'HighSierra')))))}.kext.zip`, name: 'AirportItlwm' });