Skip to content

Commit

Permalink
fix URL
Browse files Browse the repository at this point in the history
  • Loading branch information
dropdb220 committed Nov 9, 2023
1 parent 1aeaaff commit b59ed9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ electron.ipcMain.on('download-kexts', async (evt, kexts) => {
}
if (kexts.includes('AirportItlwm.kext')) {
kextsToDownload.push({
url: os.release().startsWith('23.') ? 'http://github.com/mswgen/oc-updater/blob/v1/AirportItlwm-Sonoma-v2.3.0-DEBUG-alpha-ff1138b.zip'
url: os.release().startsWith('23.') ? 'https://github.com/mswgen/oc-updater/blob/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'
});
Expand Down

0 comments on commit b59ed9e

Please sign in to comment.