diff --git a/AirportItlwm-Sonoma14.0-v2.3.0-DEBUG-alpha-42dc7bc.zip b/AirportItlwm-Sonoma14.0-v2.3.0-DEBUG-alpha-42dc7bc.zip new file mode 100644 index 0000000..9e9daf4 Binary files /dev/null and b/AirportItlwm-Sonoma14.0-v2.3.0-DEBUG-alpha-42dc7bc.zip differ diff --git a/AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-3e1624d.zip b/AirportItlwm-Sonoma14.4-v2.3.0-DEBUG-alpha-42dc7bc.zip similarity index 80% rename from AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-3e1624d.zip rename to AirportItlwm-Sonoma14.4-v2.3.0-DEBUG-alpha-42dc7bc.zip index 9f9b68d..d74816f 100644 Binary files a/AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-3e1624d.zip and b/AirportItlwm-Sonoma14.4-v2.3.0-DEBUG-alpha-42dc7bc.zip differ diff --git a/electron-builder.json b/electron-builder.json index 249b5df..ec71598 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -24,7 +24,7 @@ "!out", "!etc" ], - "buildNumber": "74", + "buildNumber": "75", "mac": { "category": "public.app-category-utilities", "electronLanguages": [ diff --git a/opencore.svg b/opencore.svg index d36e6d5..925c8b8 100644 --- a/opencore.svg +++ b/opencore.svg @@ -1 +1,29 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/package.json b/package.json index 023ab26..2b7b77c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oc-updater", "productName": "OpenCore Updater", - "version": "1.4.0", + "version": "1.4.1", "description": "OpenCore Updater", "main": "dist/index.js", "scripts": { diff --git a/src/index.ts b/src/index.ts index 6788584..d38873b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -306,8 +306,10 @@ electron.ipcMain.on('download-kexts', async (evt, ocver, kexts, PID) => { } if (kexts.includes('AirportItlwm.kext')) { kextsToDownload.push({ - url: os.release().startsWith('23.') ? 'https://raw.githubusercontent.com/mswgen/oc-updater/v1/AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-3e1624d.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`, + url: os.release().startsWith('23.') ? ( + parseInt(os.release().split('.')[1]) >= 4 ? 'https://raw.githubusercontent.com/mswgen/oc-updater/v1/AirportItlwm-Sonoma14.4-v2.3.0-DEBUG-alpha-42dc7bc.zip' + : `https://raw.githubusercontent.com/mswgen/oc-updater/v1/AirportItlwm-Sonoma14.0-v2.3.0-DEBUG-alpha-42dc7bc.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' }); } @@ -545,7 +547,7 @@ electron.ipcMain.on('update-files', async (evt, ocver, kexts, PID, dir, backupDi filesToUpdate.push([`${os.homedir()}/.oc-update/${PID}/itlwm/itlwm.kext`, `${dir}/OC/Kexts`]); } if (kexts.includes('AirportItlwm.kext')) { - if (os.release().startsWith('23.')) filesToUpdate.push([`${os.homedir()}/.oc-update/${PID}/AirportItlwm/Sonoma/AirportItlwm.kext`, `${dir}/OC/Kexts`]); + if (os.release().startsWith('23.')) filesToUpdate.push([`${os.homedir()}/.oc-update/${PID}/AirportItlwm/Sonoma14.${parseInt(os.release().split('.')[1]) >= 4 ? '4' : '0'}/AirportItlwm.kext`, `${dir}/OC/Kexts`]); else filesToUpdate.push([`${os.homedir()}/.oc-update/${PID}/AirportItlwm/AirportItlwm.kext`, `${dir}/OC/Kexts`]); } if (kexts.includes('IntelBluetoothFirmware.kext')) {