Skip to content

Commit

Permalink
bump version, support HibernationFixup.kext
Browse files Browse the repository at this point in the history
  • Loading branch information
dropdb220 committed Nov 20, 2022
1 parent 937ad55 commit fda26a4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions README-ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ OpenCore Updater는 모든 kext를 업데이트하지 않고, 앱 내부 리스
* NVMeFix
* CpuTscSync
* CPUFriend
* HibernationFixup
* AirportBrcmFixup
* BrcmPatchRAM kexts
* BlueToolFixup
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ OpenCore Updater doesn't update all kexts, but it will update the ones that are
* NVMeFix
* CpuTscSync
* CPUFriend
* HibernationFixup
* AirportBrcmFixup
* BrcmPatchRAM kexts
* BlueToolFixup
Expand Down
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.9",
"version": "1.2.10",
"description": "OpenCore Updater",
"main": "dist/index.js",
"scripts": {
Expand Down
11 changes: 11 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const versions = {
IntelBluetoothFirmware: '2.2.0',
CpuTscSync: '1.0.9',
CPUFriend: '1.2.6',
HibernationFixup: '1.4.6',
AirportBrcmFixup: '2.1.6',
BrcmPatchRAM: '2.6.4',
RealtekCardReader: ['0.9.7', '0.9.7_006a845'],
Expand Down Expand Up @@ -277,6 +278,12 @@ electron.ipcMain.on('download-kexts', async (evt, kexts) => {
name: 'CPUFriend'
});
}
if (kexts.includes('HibernationFixup.kext')) {
kextsToDownload.push({
url: `https://github.com/acidanthera/HibernationFixup/releases/download/${versions.HibernationFixup}/HibernationFixup-${versions.HibernationFixup}-RELEASE.zip`,
name: 'HibernationFixup'
});
}
if (kexts.includes('AirportBrcmFixup.kext')) {
kextsToDownload.push({
url: `https://github.com/acidanthera/AirportBrcmFixup/releases/download/${versions.AirportBrcmFixup}/AirportBrcmFixup-${versions.AirportBrcmFixup}-RELEASE.zip`,
Expand Down Expand Up @@ -469,6 +476,10 @@ electron.ipcMain.on('swap-files', (evt, dir, kexts) => {
if (kexts.includes('CPUFriend.kext')) {
cp.execSync(`cp -r "${os.homedir()}/.oc-update/${PID}/CPUFriend/CPUFriend.kext" "${dir}/OC/Kexts"`);
}
// HibernationFixup.kext -> replace with HibernationFixup/HibernationFixup.kext
if (kexts.includes('HibernationFixup.kext')) {
cp.execSync(`cp -r "${os.homedir()}/.oc-update/${PID}/HibernationFixup/HibernationFixup.kext" "${dir}/OC/Kexts"`);
}
// AirportBrcmFixup.kext -> replace with AirportBrcmFixup/AirportBrcmFixup.kext
if (kexts.includes('AirportBrcmFixup.kext')) {
cp.execSync(`cp -r "${os.homedir()}/.oc-update/${PID}/AirportBrcmFixup/AirportBrcmFixup.kext" "${dir}/OC/Kexts"`);
Expand Down
1 change: 1 addition & 0 deletions src/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ Do you want to contnue?`)) ipc.send('quit');
'NVMeFix.kext',
'CpuTscSync.kext',
'CPUFriend.kext',
'HibernationFixup.kext',
'AirportBrcmFixup.kext',
'BlueToolFixup.kext',
'BrcmBluetoothInjector.kext',
Expand Down

0 comments on commit fda26a4

Please sign in to comment.