diff --git a/index-korean.html b/index-korean.html index 3423935..f6345e8 100644 --- a/index-korean.html +++ b/index-korean.html @@ -12,7 +12,7 @@
OpenCore Logo

OpenCore Updater

-

지원되는 최신 버전: 0.9.0

+

지원되는 최신 버전: 0.9.1

@@ -26,7 +26,8 @@

OpenCore 버전 선택

  • 0.6.3 미만의 버전은 지원되지 않습니다.
  • - + + @@ -59,7 +60,7 @@

    Select OpenCore version

    Your EFI info

    -

    Latest version is 0.9.0.

    +

    Latest version is 0.9.1.

    Your OpenCore version is .

    You're using the following kexts:

    diff --git a/package.json b/package.json index d0e9f18..c78a9a5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oc-updater", "productName": "OpenCore Updater", - "version": "1.2.14", + "version": "1.2.15", "description": "OpenCore Updater", "main": "dist/index.js", "scripts": { diff --git a/src/index.ts b/src/index.ts index 45c7b28..f06c222 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,6 +9,8 @@ import util from 'util'; import { autoUpdater } from 'electron-updater'; const PID = Math.floor(Math.random() * 1000000); const checksums = { + '6129ad67049b1d4328e31dc3ab7e545dac9c404a7b2f53fdee462170fed36ea8': '0.9.1', + '8f8cafcd8ba2773d46686d407049b57327cd8199a4d34801c7332a4daac1f597': '0.9.1', 'd7092e886803f8775557378b7d80b75b6813ccf2f8eb507160ff14dc258455be': '0.9.0', '57d2d66a01f9fd225d7f92616b0bff4b2d1fd5036400acb76a2e8704f694789d': '0.9.0', '5bc6f10ff45a1ee8558dec953e3ee8990ca2ab0dcc6e4750f130b42211f5333a': '0.8.9', @@ -55,15 +57,15 @@ const checksums = { 'dc2381c5ab49ac79ed6be75f9867c5933e6f1e88cb4e860359967fc5ee4916e3': '0.6.3' } const versions = { - OpenCore: ['0.9.0', 90], + OpenCore: ['0.9.1', 91], VirtualSMC: '1.3.1', Lilu: '1.6.4', WhateverGreen: '1.6.4', - AppleALC: '1.8.0', - VoodooPS2Controller: '2.3.4', + AppleALC: '1.8.1', + VoodooPS2Controller: '2.3.5', VoodooI2C: '2.8', ECEnabler: '1.0.3', - BrightnessKeys: '1.0.2', + BrightnessKeys: '1.0.3', RealtekRTL8111: '2.4.2', AtherosE2200Ethernet: '2.2.2', USBInjectAll: '2018-1108', @@ -74,8 +76,8 @@ const versions = { CpuTscSync: '1.0.9', CPUFriend: '1.2.6', HibernationFixup: '1.4.8', - AirportBrcmFixup: '2.1.6', - BrcmPatchRAM: '2.6.4', + AirportBrcmFixup: '2.1.7', + BrcmPatchRAM: '2.6.5', RealtekCardReader: ['0.9.7', '0.9.7_006a845'], RealtekCardReaderFriend: ['1.0.4', '1.0.4_e1e3301'] } diff --git a/src/renderer.ts b/src/renderer.ts index 3375ac4..d8d6227 100644 --- a/src/renderer.ts +++ b/src/renderer.ts @@ -11,7 +11,7 @@ function afterOcverSelection(ocver: string, efidir: string) { const ocverNum = Number(ocver.split('.').join('')); document.querySelector('#oc-version')!.innerHTML = ocver; document.querySelector('#using-kexts')!.innerHTML = kexts.join('
    '); - if (ocverNum < 90) { + if (ocverNum < 91) { document.querySelector('#is-outdated')!.innerHTML = isKorean ? '구버전 OpenCore를 사용하고 있어요.' : 'Your OpenCore is outdated.'; document.querySelector('#update')!.style.display = 'block'; document.querySelector('#update')?.addEventListener('click', async () => { diff --git a/src/update/090-to-091.ts b/src/update/090-to-091.ts new file mode 100644 index 0000000..aebeb9e --- /dev/null +++ b/src/update/090-to-091.ts @@ -0,0 +1,17 @@ +// import plist and fs +import fs from 'fs'; +import plist from 'plist'; +export default { + from: 90, + configPlistChange: true, + exec: (file: string) => { + // read ${file} as utf8, parse it as plist, and save it to variable `plistParsed` + const plistParsed: any = plist.parse(fs.readFileSync(file, 'utf8')); + /* + // Changes of OpenCore 0.9.1 + set UEFI - Output - GopBurstMode to false + */ + plistParsed.UEFI.Output.GopBurstMode = false; + fs.writeFileSync(file, plist.build(plistParsed)); + } +} \ No newline at end of file