Skip to content

Commit

Permalink
fix download url
Browse files Browse the repository at this point in the history
  • Loading branch information
dropdb220 committed Nov 16, 2023
1 parent ad32824 commit 6dc4b5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
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.') ? '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'
});
Expand Down

0 comments on commit 6dc4b5e

Please sign in to comment.