mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-17 21:24:40 +10:00
Deploying to gh-pages from @ 37c0bf1e22 🚀
This commit is contained in:
BIN
assets/img/oc-explained.d196cefa.png
Normal file
BIN
assets/img/oc-explained.d196cefa.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 544 KiB |
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{365:function(t,e,o){t.exports=o.p+"assets/img/efi-boot.97b06df3.png"},366:function(t,e,o){t.exports=o.p+"assets/img/oc-boot.8c4d2670.png"},395:function(t,e,o){"use strict";o.r(e);var n=o(25),a=Object(n.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"booting-opencore-and-macos"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#booting-opencore-and-macos"}},[t._v("#")]),t._v(" Booting OpenCore and macOS")]),t._v(" "),n("p",[t._v("Now we finally get to boot OpenCore!")]),t._v(" "),n("p",[t._v("Reboot machine while holding "),n("code",[t._v("Option")]),t._v(" to select the EFI Boot entry with the OpenCore icon:")]),t._v(" "),n("ul",[n("li",[t._v("This will be the Mac Boot Picker")])]),t._v(" "),n("p",[n("img",{attrs:{src:o(365),alt:""}})]),t._v(" "),n("p",[t._v("Now that you've loaded OpenCore, now select Install macOS!:")]),t._v(" "),n("ul",[n("li",[t._v("This will be the OpenCore Picker")])]),t._v(" "),n("p",[n("img",{attrs:{src:o(366),alt:""}})]),t._v(" "),n("p",[t._v("After plenty of verbose booting, you will reach the installer screen! From there it's just like any normal macOS install. For an example of how the boot process looks, see the following video:")]),t._v(" "),n("ul",[n("li",[n("a",{attrs:{href:"https://www.youtube.com/watch?v=AN3zsbQV_n4",target:"_blank",rel:"noopener noreferrer"}},[t._v("OpenCore Legacy Patcher Boot Process"),n("OutboundLink")],1)])]),t._v(" "),n("h1",{attrs:{id:"once-installed-and-booting-head-to-post-installation"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#once-installed-and-booting-head-to-post-installation"}},[t._v("#")]),t._v(" Once installed and booting, head to "),n("RouterLink",{attrs:{to:"/POST-INSTALL.html"}},[t._v("Post-Installation")])],1)])}),[],!1,null,null,null);e.default=a.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],{365:function(t,e,o){t.exports=o.p+"assets/img/efi-boot.97b06df3.png"},366:function(t,e,o){t.exports=o.p+"assets/img/oc-boot.8c4d2670.png"},396:function(t,e,o){"use strict";o.r(e);var n=o(25),a=Object(n.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("h1",{attrs:{id:"booting-opencore-and-macos"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#booting-opencore-and-macos"}},[t._v("#")]),t._v(" Booting OpenCore and macOS")]),t._v(" "),n("p",[t._v("Now we finally get to boot OpenCore!")]),t._v(" "),n("p",[t._v("Reboot machine while holding "),n("code",[t._v("Option")]),t._v(" to select the EFI Boot entry with the OpenCore icon:")]),t._v(" "),n("ul",[n("li",[t._v("This will be the Mac Boot Picker")])]),t._v(" "),n("p",[n("img",{attrs:{src:o(365),alt:""}})]),t._v(" "),n("p",[t._v("Now that you've loaded OpenCore, now select Install macOS!:")]),t._v(" "),n("ul",[n("li",[t._v("This will be the OpenCore Picker")])]),t._v(" "),n("p",[n("img",{attrs:{src:o(366),alt:""}})]),t._v(" "),n("p",[t._v("After plenty of verbose booting, you will reach the installer screen! From there it's just like any normal macOS install. For an example of how the boot process looks, see the following video:")]),t._v(" "),n("ul",[n("li",[n("a",{attrs:{href:"https://www.youtube.com/watch?v=AN3zsbQV_n4",target:"_blank",rel:"noopener noreferrer"}},[t._v("OpenCore Legacy Patcher Boot Process"),n("OutboundLink")],1)])]),t._v(" "),n("h1",{attrs:{id:"once-installed-and-booting-head-to-post-installation"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#once-installed-and-booting-head-to-post-installation"}},[t._v("#")]),t._v(" Once installed and booting, head to "),n("RouterLink",{attrs:{to:"/POST-INSTALL.html"}},[t._v("Post-Installation")])],1)])}),[],!1,null,null,null);e.default=a.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{319:function(e,t,o){e.exports=o.p+"assets/img/mountefi.f1bedccd.png"},371:function(e,t,o){e.exports=o.p+"assets/img/logs-efi.c416d33f.png"},397:function(e,t,o){"use strict";o.r(t);var r=o(25),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"how-to-debug-with-opencore"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#how-to-debug-with-opencore"}},[e._v("#")]),e._v(" How to debug with OpenCore")]),e._v(" "),r("p",[e._v("For those who've hit an odd bug and unsure if it's user error or patcher, the below will tell you how to get more verbose debug information as well as logs to help "),r("a",{attrs:{href:"https://github.com/dortania/OpenCore-Legacy-Patcher/issues",target:"_blank",rel:"noopener noreferrer"}},[e._v("file issues with us"),r("OutboundLink")],1)]),e._v(" "),r("ul",[r("li",[e._v("For users who are less experienced, we recommend asking on the "),r("a",{attrs:{href:"https://discord.gg/XbbWAsE",target:"_blank",rel:"noopener noreferrer"}},[e._v("Unsupported Mac Discord Server"),r("OutboundLink")],1),e._v(" for help.")])]),e._v(" "),r("h2",{attrs:{id:"debugging-yourself"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#debugging-yourself"}},[e._v("#")]),e._v(" Debugging yourself")]),e._v(" "),r("p",[e._v("The easiest way to debug yourself is via Patcher Settings. Here there are many different settings however the 3 main options that will help are:")]),e._v(" "),r("ul",[r("li",[e._v('"Enable Verbose Mode"')]),e._v(" "),r("li",[e._v('"Enable OpenCore DEBUG"')]),e._v(" "),r("li",[e._v('"Enable Kext DEBUG"')])]),e._v(" "),r("p",[e._v("When you've enabled these 3 options, rebuild OpenCore and install to your drive. This will provide much greater debug information as well as write logs to the EFI Partition.")]),e._v(" "),r("h2",{attrs:{id:"obtaining-opencore-logs-from-disk"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-opencore-logs-from-disk"}},[e._v("#")]),e._v(" Obtaining OpenCore logs from disk")]),e._v(" "),r("p",[e._v('With "Enable OpenCore DEBUG" set, every boot there will be a .txt file generated in your disk. To grab these logs, '),r("a",{attrs:{href:"https://github.com/corpnewt/MountEFI",target:"_blank",rel:"noopener noreferrer"}},[e._v("download and run MountEFI"),r("OutboundLink")],1),e._v(":")]),e._v(" "),r("p",[r("img",{attrs:{src:o(319),alt:""}})]),e._v(" "),r("p",[e._v("Once you've mounted the EFI Partition of the drive you have macOS on, you should see some nice logs:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(371),alt:""}})]),e._v(" "),r("h2",{attrs:{id:"obtaining-kernel-logs-from-macos"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-kernel-logs-from-macos"}},[e._v("#")]),e._v(" Obtaining Kernel logs from macOS")]),e._v(" "),r("p",[e._v('With "Enable Kext DEBUG" set, every boot will now have much more detailed logs stored in the OS. To get these logs, simply run the below command:')]),e._v(" "),r("div",{staticClass:"language-sh extra-class"},[r("pre",{pre:!0,attrs:{class:"language-sh"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("sudo")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("dmesg")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v(">")]),e._v(" ~/Desktop/DMESG.txt\n")])])]),r("p",[e._v("From there, you'll have a log on your desktop.")]),e._v(" "),r("h2",{attrs:{id:"filing-an-issue-with-us"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#filing-an-issue-with-us"}},[e._v("#")]),e._v(" Filing an issue with us")]),e._v(" "),r("p",[e._v("Now that you have proper logs, you can now "),r("a",{attrs:{href:"https://github.com/dortania/OpenCore-Legacy-Patcher/issues",target:"_blank",rel:"noopener noreferrer"}},[e._v("file issues with us"),r("OutboundLink")],1),e._v(". Reminder we want the following info:")]),e._v(" "),r("ul",[r("li",[e._v("Model patching for (ie. MacBookPro10,1)")]),e._v(" "),r("li",[e._v("Target OS (ie. macOS 11.2.3)")]),e._v(" "),r("li",[e._v("Host OS (ie. macOS 10.15.7)")]),e._v(" "),r("li",[e._v("Upload of your OpenCore Build Folder")]),e._v(" "),r("li",[e._v("Upload of your OpenCore log (if applicable)")]),e._v(" "),r("li",[e._v("Upload of your Kernel log (if applicable)")])]),e._v(" "),r("p",[e._v("Additionally, please search whether the issue has been reported before. This avoids having duplicate issues.")])])}),[],!1,null,null,null);t.default=s.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],{319:function(e,t,o){e.exports=o.p+"assets/img/mountefi.f1bedccd.png"},367:function(e,t,o){e.exports=o.p+"assets/img/logs-efi.c416d33f.png"},397:function(e,t,o){"use strict";o.r(t);var r=o(25),s=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"how-to-debug-with-opencore"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#how-to-debug-with-opencore"}},[e._v("#")]),e._v(" How to debug with OpenCore")]),e._v(" "),r("p",[e._v("For those who've hit an odd bug and unsure if it's user error or patcher, the below will tell you how to get more verbose debug information as well as logs to help "),r("a",{attrs:{href:"https://github.com/dortania/OpenCore-Legacy-Patcher/issues",target:"_blank",rel:"noopener noreferrer"}},[e._v("file issues with us"),r("OutboundLink")],1)]),e._v(" "),r("ul",[r("li",[e._v("For users who are less experienced, we recommend asking on the "),r("a",{attrs:{href:"https://discord.gg/XbbWAsE",target:"_blank",rel:"noopener noreferrer"}},[e._v("Unsupported Mac Discord Server"),r("OutboundLink")],1),e._v(" for help.")])]),e._v(" "),r("h2",{attrs:{id:"debugging-yourself"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#debugging-yourself"}},[e._v("#")]),e._v(" Debugging yourself")]),e._v(" "),r("p",[e._v("The easiest way to debug yourself is via Patcher Settings. Here there are many different settings however the 3 main options that will help are:")]),e._v(" "),r("ul",[r("li",[e._v('"Enable Verbose Mode"')]),e._v(" "),r("li",[e._v('"Enable OpenCore DEBUG"')]),e._v(" "),r("li",[e._v('"Enable Kext DEBUG"')])]),e._v(" "),r("p",[e._v("When you've enabled these 3 options, rebuild OpenCore and install to your drive. This will provide much greater debug information as well as write logs to the EFI Partition.")]),e._v(" "),r("h2",{attrs:{id:"obtaining-opencore-logs-from-disk"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-opencore-logs-from-disk"}},[e._v("#")]),e._v(" Obtaining OpenCore logs from disk")]),e._v(" "),r("p",[e._v('With "Enable OpenCore DEBUG" set, every boot there will be a .txt file generated in your disk. To grab these logs, '),r("a",{attrs:{href:"https://github.com/corpnewt/MountEFI",target:"_blank",rel:"noopener noreferrer"}},[e._v("download and run MountEFI"),r("OutboundLink")],1),e._v(":")]),e._v(" "),r("p",[r("img",{attrs:{src:o(319),alt:""}})]),e._v(" "),r("p",[e._v("Once you've mounted the EFI Partition of the drive you have macOS on, you should see some nice logs:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(367),alt:""}})]),e._v(" "),r("h2",{attrs:{id:"obtaining-kernel-logs-from-macos"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#obtaining-kernel-logs-from-macos"}},[e._v("#")]),e._v(" Obtaining Kernel logs from macOS")]),e._v(" "),r("p",[e._v('With "Enable Kext DEBUG" set, every boot will now have much more detailed logs stored in the OS. To get these logs, simply run the below command:')]),e._v(" "),r("div",{staticClass:"language-sh extra-class"},[r("pre",{pre:!0,attrs:{class:"language-sh"}},[r("code",[r("span",{pre:!0,attrs:{class:"token function"}},[e._v("sudo")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token function"}},[e._v("dmesg")]),e._v(" "),r("span",{pre:!0,attrs:{class:"token operator"}},[e._v(">")]),e._v(" ~/Desktop/DMESG.txt\n")])])]),r("p",[e._v("From there, you'll have a log on your desktop.")]),e._v(" "),r("h2",{attrs:{id:"filing-an-issue-with-us"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#filing-an-issue-with-us"}},[e._v("#")]),e._v(" Filing an issue with us")]),e._v(" "),r("p",[e._v("Now that you have proper logs, you can now "),r("a",{attrs:{href:"https://github.com/dortania/OpenCore-Legacy-Patcher/issues",target:"_blank",rel:"noopener noreferrer"}},[e._v("file issues with us"),r("OutboundLink")],1),e._v(". Reminder we want the following info:")]),e._v(" "),r("ul",[r("li",[e._v("Model patching for (ie. MacBookPro10,1)")]),e._v(" "),r("li",[e._v("Target OS (ie. macOS 11.2.3)")]),e._v(" "),r("li",[e._v("Host OS (ie. macOS 10.15.7)")]),e._v(" "),r("li",[e._v("Upload of your OpenCore Build Folder")]),e._v(" "),r("li",[e._v("Upload of your OpenCore log (if applicable)")]),e._v(" "),r("li",[e._v("Upload of your Kernel log (if applicable)")])]),e._v(" "),r("p",[e._v("Additionally, please search whether the issue has been reported before. This avoids having duplicate issues.")])])}),[],!1,null,null,null);t.default=s.exports}}]);
|
||||
1
assets/js/12.3e3371a5.js
Normal file
1
assets/js/12.3e3371a5.js
Normal file
@@ -0,0 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{379:function(e,t,o){e.exports=o.p+"assets/img/oc-explained.d196cefa.png"},400:function(e,t,o){"use strict";o.r(t);var r=o(25),a=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"boot-process-with-opencore-legacy-patcher"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#boot-process-with-opencore-legacy-patcher"}},[e._v("#")]),e._v(" Boot Process with OpenCore Legacy Patcher")]),e._v(" "),r("p",[e._v('OpenCore Legacy Patcher itself is actually quite a "dumb" program, and essentially edits a config.plist file and moves files around, it actually has little logic regarding the boot process. The real magic of OCLP is '),r("a",{attrs:{href:"https://github.com/acidanthera/OpenCorePkg",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenCorePkg"),r("OutboundLink")],1),e._v(", our back-end and what makes this patcher so powerful.")]),e._v(" "),r("h2",{attrs:{id:"boot-process-with-opencore"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#boot-process-with-opencore"}},[e._v("#")]),e._v(" Boot Process with OpenCore")]),e._v(" "),r("p",[e._v("To understand a bit more of how OpenCore is able revive older Macs in such a native-like way, we need to go over "),r("em",[e._v("how")]),e._v(" OpenCore works with your Mac:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(379),alt:""}})])])}),[],!1,null,null,null);t.default=a.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{385:function(e,t,o){e.exports=o.p+"assets/img/settings.5b5cfef6.png"},402:function(e,t,o){"use strict";o.r(t);var r=o(25),i=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"post-installation"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#post-installation"}},[e._v("#")]),e._v(" Post-Installation")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#booting-without-usb-drive"}},[e._v("Booting without USB drive")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#booting-seamlessly-without-verbose-or-opencore-picker"}},[e._v("Booting seamlessly without Verbose or OpenCore Picker")])])]),e._v(" "),r("h2",{attrs:{id:"booting-without-usb-drive"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#booting-without-usb-drive"}},[e._v("#")]),e._v(" Booting without USB drive")]),e._v(" "),r("p",[e._v("Once you've installed macOS through OpenCore, you can boot up and go through the regular install process. To boot without the USB drive plugged in is quite simple:")]),e._v(" "),r("ul",[r("li",[e._v("Download OpenCore Legacy Patcher")]),e._v(" "),r("li",[e._v("Change Patcher settings as you'd like")]),e._v(" "),r("li",[e._v("Build OpenCore again")]),e._v(" "),r("li",[e._v("Install OpenCore to internal drive")]),e._v(" "),r("li",[e._v("Reboot holding Option, and select the internal EFI")])]),e._v(" "),r("p",[e._v("And voila! No more USB drive required")]),e._v(" "),r("h2",{attrs:{id:"booting-seamlessly-without-verbose-or-opencore-picker"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#booting-seamlessly-without-verbose-or-opencore-picker"}},[e._v("#")]),e._v(" Booting seamlessly without Verbose or OpenCore Picker")]),e._v(" "),r("p",[e._v("To do this, run the OpenCore Patcher and head to Patcher Settings:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(385),alt:""}})]),e._v(" "),r("p",[e._v("Here you can change different patcher settings, however the main 2 of interest are:")]),e._v(" "),r("ul",[r("li",[e._v("Enable Verbose Mode")]),e._v(" "),r("li",[e._v("Set ShowPicker Mode")])]),e._v(" "),r("p",[e._v('Once you\'ve toggled them both off, build your OpenCore EFI once again and install to your desired drive. Now to show OpenCore picker, you can simply hold the "Esc" key.')])])}),[],!1,null,null,null);t.default=i.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{386:function(e,t,o){e.exports=o.p+"assets/img/settings.5b5cfef6.png"},404:function(e,t,o){"use strict";o.r(t);var r=o(25),i=Object(r.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h1",{attrs:{id:"post-installation"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#post-installation"}},[e._v("#")]),e._v(" Post-Installation")]),e._v(" "),r("ul",[r("li",[r("a",{attrs:{href:"#booting-without-usb-drive"}},[e._v("Booting without USB drive")])]),e._v(" "),r("li",[r("a",{attrs:{href:"#booting-seamlessly-without-verbose-or-opencore-picker"}},[e._v("Booting seamlessly without Verbose or OpenCore Picker")])])]),e._v(" "),r("h2",{attrs:{id:"booting-without-usb-drive"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#booting-without-usb-drive"}},[e._v("#")]),e._v(" Booting without USB drive")]),e._v(" "),r("p",[e._v("Once you've installed macOS through OpenCore, you can boot up and go through the regular install process. To boot without the USB drive plugged in is quite simple:")]),e._v(" "),r("ul",[r("li",[e._v("Download OpenCore Legacy Patcher")]),e._v(" "),r("li",[e._v("Change Patcher settings as you'd like")]),e._v(" "),r("li",[e._v("Build OpenCore again")]),e._v(" "),r("li",[e._v("Install OpenCore to internal drive")]),e._v(" "),r("li",[e._v("Reboot holding Option, and select the internal EFI")])]),e._v(" "),r("p",[e._v("And voila! No more USB drive required")]),e._v(" "),r("h2",{attrs:{id:"booting-seamlessly-without-verbose-or-opencore-picker"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#booting-seamlessly-without-verbose-or-opencore-picker"}},[e._v("#")]),e._v(" Booting seamlessly without Verbose or OpenCore Picker")]),e._v(" "),r("p",[e._v("To do this, run the OpenCore Patcher and head to Patcher Settings:")]),e._v(" "),r("p",[r("img",{attrs:{src:o(386),alt:""}})]),e._v(" "),r("p",[e._v("Here you can change different patcher settings, however the main 2 of interest are:")]),e._v(" "),r("ul",[r("li",[e._v("Enable Verbose Mode")]),e._v(" "),r("li",[e._v("Set ShowPicker Mode")])]),e._v(" "),r("p",[e._v('Once you\'ve toggled them both off, build your OpenCore EFI once again and install to your desired drive. Now to show OpenCore picker, you can simply hold the "Esc" key.')])])}),[],!1,null,null,null);t.default=i.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{392:function(e,t,n){"use strict";n.r(t);var a={name:"ThemeManager",beforeMount:function(){function e(e){window.__theme=e,t=e,document.body.setAttribute("data-theme",e),window.__onThemeChange(e)}var t;window.__onThemeChange=function(){};try{t=localStorage.getItem("theme")}catch(e){}window.__setPreferredTheme=function(t){e(t);try{localStorage.setItem("theme",t)}catch(e){}};var n=window.matchMedia("(prefers-color-scheme: dark)");n.addListener((function(e){window.__setPreferredTheme(e.matches?"dark":"light")})),e(t||(n.matches?"dark":"light"))}},i=n(25),o=Object(i.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{visibility:"hidden",display:"none"}})}),[],!1,null,null,null);t.default=o.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{393:function(e,t,n){"use strict";n.r(t);var a={name:"ThemeManager",beforeMount:function(){function e(e){window.__theme=e,t=e,document.body.setAttribute("data-theme",e),window.__onThemeChange(e)}var t;window.__onThemeChange=function(){};try{t=localStorage.getItem("theme")}catch(e){}window.__setPreferredTheme=function(t){e(t);try{localStorage.setItem("theme",t)}catch(e){}};var n=window.matchMedia("(prefers-color-scheme: dark)");n.addListener((function(e){window.__setPreferredTheme(e.matches?"dark":"light")})),e(t||(n.matches?"dark":"light"))}},i=n(25),o=Object(i.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticStyle:{visibility:"hidden",display:"none"}})}),[],!1,null,null,null);t.default=o.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{391:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(25),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-succinct-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{392:function(t,e,s){"use strict";s.r(e);var n=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return n[Math.floor(Math.random()*n.length)]}}},i=s(25),h=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"theme-succinct-content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("RouterLink",{attrs:{to:"/"}},[this._v("\n Take me home.\n ")])],1)])}),[],!1,null,null,null);e.default=h.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{403:function(t,e,n){"use strict";n.r(e);var s=n(25),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{405:function(t,e,n){"use strict";n.r(e);var s=n(25),l=Object(s.a)({},(function(){var t=this.$createElement;return(this._self._c||t)("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}})}),[],!1,null,null,null);e.default=l.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{404:function(e,t,a){"use strict";a.r(t);var o=a(25),s=Object(o.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h1",{attrs:{id:"what-is-opencore"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#what-is-opencore"}},[e._v("#")]),e._v(" What is OpenCore?")]),e._v(" "),a("p",[e._v("This is a sophisticated boot loader used to inject and patch data in memory, instead of on disk. This means we're able to get near-native experience on many unsupported Macs with Metal GPUs. This includes many of the long desired features of other patchers such as:")]),e._v(" "),a("ul",[a("li",[e._v("System Integrity Protection, FileVault 2, .im4m Secure Boot and Vaulting")]),e._v(" "),a("li",[e._v("Native OTA OS DELTA updates on all Macs")]),e._v(" "),a("li",[e._v("Recovery OS, Safe Mode and Single-user Mode booting")])]),e._v(" "),a("p",[e._v("While many PC users from the Hackintosh community are familiar with OpenCore, OpenCore was designed as Mac and PC agnostic ensuring both platforms can use it easily. And with OpenCore Legacy Patcher, we help automate the process making running with OpenCore that much easier.")]),e._v(" "),a("h2",{attrs:{id:"how-do-i-get-started"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#how-do-i-get-started"}},[e._v("#")]),e._v(" How do I get started?")]),e._v(" "),a("ol",[a("li",[e._v("The first step of ensuring whether your model is support is checking here:")])]),e._v(" "),a("ul",[a("li",[a("RouterLink",{attrs:{to:"/MODELS.html"}},[e._v("Supported Models")])],1)]),e._v(" "),a("ol",{attrs:{start:"2"}},[a("li",[a("RouterLink",{attrs:{to:"/INSTALLER.html"}},[e._v("Download and build macOS Installer")])],1),e._v(" "),a("li",[a("RouterLink",{attrs:{to:"/BUILD.html"}},[e._v("Run the "),a("code",[e._v("OpenCore-Patcher.app")])])],1),e._v(" "),a("li",[a("RouterLink",{attrs:{to:"/BOOT.html"}},[e._v("Reboot and boot OpenCore")])],1)])])}),[],!1,null,null,null);t.default=s.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{406:function(e,t,a){"use strict";a.r(t);var o=a(25),s=Object(o.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h1",{attrs:{id:"what-is-opencore"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#what-is-opencore"}},[e._v("#")]),e._v(" What is OpenCore?")]),e._v(" "),a("p",[e._v("This is a sophisticated boot loader used to inject and patch data in memory, instead of on disk. This means we're able to get near-native experience on many unsupported Macs with Metal GPUs. This includes many of the long desired features of other patchers such as:")]),e._v(" "),a("ul",[a("li",[e._v("System Integrity Protection, FileVault 2, .im4m Secure Boot and Vaulting")]),e._v(" "),a("li",[e._v("Native OTA OS DELTA updates on all Macs")]),e._v(" "),a("li",[e._v("Recovery OS, Safe Mode and Single-user Mode booting")])]),e._v(" "),a("p",[e._v("While many PC users from the Hackintosh community are familiar with OpenCore, OpenCore was designed as Mac and PC agnostic ensuring both platforms can use it easily. And with OpenCore Legacy Patcher, we help automate the process making running with OpenCore that much easier.")]),e._v(" "),a("h2",{attrs:{id:"how-do-i-get-started"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#how-do-i-get-started"}},[e._v("#")]),e._v(" How do I get started?")]),e._v(" "),a("ol",[a("li",[e._v("The first step of ensuring whether your model is support is checking here:")])]),e._v(" "),a("ul",[a("li",[a("RouterLink",{attrs:{to:"/MODELS.html"}},[e._v("Supported Models")])],1)]),e._v(" "),a("ol",{attrs:{start:"2"}},[a("li",[a("RouterLink",{attrs:{to:"/INSTALLER.html"}},[e._v("Download and build macOS Installer")])],1),e._v(" "),a("li",[a("RouterLink",{attrs:{to:"/BUILD.html"}},[e._v("Run the "),a("code",[e._v("OpenCore-Patcher.app")])])],1),e._v(" "),a("li",[a("RouterLink",{attrs:{to:"/BOOT.html"}},[e._v("Reboot and boot OpenCore")])],1)])])}),[],!1,null,null,null);t.default=s.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
1
assets/js/20.fa8b3309.js
Normal file
1
assets/js/20.fa8b3309.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{407:function(e,t,o){"use strict";o.r(t);var r=o(25),n=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"uninstalling-opencore"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#uninstalling-opencore"}},[e._v("#")]),e._v(" Uninstalling OpenCore")]),e._v(" "),o("p",[e._v("To remove OpenCore is actually quite simply:")]),e._v(" "),o("ol",[o("li",[e._v("Remove OpenCore either from the USB or internal drive")])]),e._v(" "),o("ul",[o("li",[e._v("You'll need to mount the drive's EFI partition, and delete the EFI folder")]),e._v(" "),o("li",[o("a",{attrs:{href:"https://dortania.github.io/OpenCore-Post-Install/universal/oc2hdd.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("See here for example how to mount"),o("OutboundLink")],1)])]),e._v(" "),o("ol",{attrs:{start:"2"}},[o("li",[e._v("Reset NVRAM")])]),e._v(" "),o("ul",[o("li",[o("a",{attrs:{href:"https://support.apple.com/HT204063",target:"_blank",rel:"noopener noreferrer"}},[e._v("Reset NVRAM or PRAM on your Mac"),o("OutboundLink")],1)])]),e._v(" "),o("p",[e._v("Know that if you are on Big Sur when you remove the EFI folder, your Mac will no longer boot and show the prohibited symbol. Be ready to install an older version of macOS before you uninstall OpenCore.")])])}),[],!1,null,null,null);t.default=n.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{409:function(e,t,o){"use strict";o.r(t);var r=o(25),n=Object(r.a)({},(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[o("h1",{attrs:{id:"uninstalling-opencore"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#uninstalling-opencore"}},[e._v("#")]),e._v(" Uninstalling OpenCore")]),e._v(" "),o("p",[e._v("To remove OpenCore is actually quite simply:")]),e._v(" "),o("ol",[o("li",[e._v("Remove OpenCore either from the USB or internal drive")])]),e._v(" "),o("ul",[o("li",[e._v("You'll need to mount the drive's EFI partition, and delete the EFI folder")]),e._v(" "),o("li",[o("a",{attrs:{href:"https://dortania.github.io/OpenCore-Post-Install/universal/oc2hdd.html",target:"_blank",rel:"noopener noreferrer"}},[e._v("See here for example how to mount"),o("OutboundLink")],1)])]),e._v(" "),o("ol",{attrs:{start:"2"}},[o("li",[e._v("Reset NVRAM")])]),e._v(" "),o("ul",[o("li",[o("a",{attrs:{href:"https://support.apple.com/HT204063",target:"_blank",rel:"noopener noreferrer"}},[e._v("Reset NVRAM or PRAM on your Mac"),o("OutboundLink")],1)])]),e._v(" "),o("p",[e._v("Know that if you are on Big Sur when you remove the EFI folder, your Mac will no longer boot and show the prohibited symbol. Be ready to install an older version of macOS before you uninstall OpenCore.")])])}),[],!1,null,null,null);t.default=n.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{367:function(e,t,n){e.exports=n.p+"assets/img/first-run.898738d5.png"},368:function(e,t,n){e.exports=n.p+"assets/img/build-efi.b7e95d18.png"},369:function(e,t,n){e.exports=n.p+"assets/img/disk-start.b78fd552.png"},370:function(e,t,n){e.exports=n.p+"assets/img/disk-efi.fea58692.png"},396:function(e,t,n){"use strict";n.r(t);var a=n(25),i=Object(a.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h1",{attrs:{id:"building-and-installing-opencore"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#building-and-installing-opencore"}},[e._v("#")]),e._v(" Building and installing OpenCore")]),e._v(" "),a("p",[e._v("Now that we have a macOS installer, lets now build our OpenCore configuration!")]),e._v(" "),a("p",[e._v("First Download the latest release:")]),e._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Opencore-Legacy-Patcher/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenCore Legacy Patcher Releases"),a("OutboundLink")],1)])]),e._v(" "),a("p",[e._v("Next, run the "),a("code",[e._v("OpenCore-Patcher.app")]),e._v(":")]),e._v(" "),a("p",[a("img",{attrs:{src:n(367),alt:""}})]),e._v(" "),a("p",[e._v("From here you have a couple important options:")]),e._v(" "),a("ul",[a("li",[e._v("Build OpenCore")]),e._v(" "),a("li",[e._v("Install OpenCore to USB/internal drive")]),e._v(" "),a("li",[e._v("Change Model")]),e._v(" "),a("li",[e._v("Patcher Settings")])]),e._v(" "),a("p",[e._v('If you\'re patching for a different machine than you\'re running, please select "Change Model" and enter the updated SMBIOS. For more advanced users, you may also tweak the patcher\'s build settings via "Patcher Settings"')]),e._v(" "),a("p",[e._v('Now lets enter "Build OpenCore":')]),e._v(" "),a("p",[a("img",{attrs:{src:n(368),alt:""}})]),e._v(" "),a("p",[e._v("The process should be quite quick to build, once finished you'll be plopped back to the main menu.")]),e._v(" "),a("p",[e._v("Next lets run "),a("code",[e._v("Install OpenCore to USB/internal drive")]),e._v(":")]),e._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[e._v("Select Drive")]),e._v(" "),a("th",{staticStyle:{"text-align":"left"}},[e._v("Select EFI/FAT32 Partition")])])]),e._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("img",{attrs:{src:n(369),alt:""}})]),e._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("img",{attrs:{src:n(370),alt:""}})])])])]),e._v(" "),a("ul",[a("li",[e._v("If you have issues, please ensure you install OpenCore onto a FAT32 partition to ensure your Mac is able to boot it. You will need to format your drive as GUID/GPT in Disk Utility")])]),e._v(" "),a("h1",{attrs:{id:"once-finished-head-to-booting-opencore-and-macos"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#once-finished-head-to-booting-opencore-and-macos"}},[e._v("#")]),e._v(" Once finished, head to "),a("RouterLink",{attrs:{to:"/BOOT.html"}},[e._v("Booting OpenCore and macOS")])],1)])}),[],!1,null,null,null);t.default=i.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{375:function(e,t,n){e.exports=n.p+"assets/img/first-run.898738d5.png"},376:function(e,t,n){e.exports=n.p+"assets/img/build-efi.b7e95d18.png"},377:function(e,t,n){e.exports=n.p+"assets/img/disk-start.b78fd552.png"},378:function(e,t,n){e.exports=n.p+"assets/img/disk-efi.fea58692.png"},399:function(e,t,n){"use strict";n.r(t);var a=n(25),i=Object(a.a)({},(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h1",{attrs:{id:"building-and-installing-opencore"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#building-and-installing-opencore"}},[e._v("#")]),e._v(" Building and installing OpenCore")]),e._v(" "),a("p",[e._v("Now that we have a macOS installer, lets now build our OpenCore configuration!")]),e._v(" "),a("p",[e._v("First Download the latest release:")]),e._v(" "),a("ul",[a("li",[a("a",{attrs:{href:"https://github.com/dortania/Opencore-Legacy-Patcher/releases",target:"_blank",rel:"noopener noreferrer"}},[e._v("OpenCore Legacy Patcher Releases"),a("OutboundLink")],1)])]),e._v(" "),a("p",[e._v("Next, run the "),a("code",[e._v("OpenCore-Patcher.app")]),e._v(":")]),e._v(" "),a("p",[a("img",{attrs:{src:n(375),alt:""}})]),e._v(" "),a("p",[e._v("From here you have a couple important options:")]),e._v(" "),a("ul",[a("li",[e._v("Build OpenCore")]),e._v(" "),a("li",[e._v("Install OpenCore to USB/internal drive")]),e._v(" "),a("li",[e._v("Change Model")]),e._v(" "),a("li",[e._v("Patcher Settings")])]),e._v(" "),a("p",[e._v('If you\'re patching for a different machine than you\'re running, please select "Change Model" and enter the updated SMBIOS. For more advanced users, you may also tweak the patcher\'s build settings via "Patcher Settings"')]),e._v(" "),a("p",[e._v('Now lets enter "Build OpenCore":')]),e._v(" "),a("p",[a("img",{attrs:{src:n(376),alt:""}})]),e._v(" "),a("p",[e._v("The process should be quite quick to build, once finished you'll be plopped back to the main menu.")]),e._v(" "),a("p",[e._v("Next lets run "),a("code",[e._v("Install OpenCore to USB/internal drive")]),e._v(":")]),e._v(" "),a("table",[a("thead",[a("tr",[a("th",{staticStyle:{"text-align":"left"}},[e._v("Select Drive")]),e._v(" "),a("th",{staticStyle:{"text-align":"left"}},[e._v("Select EFI/FAT32 Partition")])])]),e._v(" "),a("tbody",[a("tr",[a("td",{staticStyle:{"text-align":"left"}},[a("img",{attrs:{src:n(377),alt:""}})]),e._v(" "),a("td",{staticStyle:{"text-align":"left"}},[a("img",{attrs:{src:n(378),alt:""}})])])])]),e._v(" "),a("ul",[a("li",[e._v("If you have issues, please ensure you install OpenCore onto a FAT32 partition to ensure your Mac is able to boot it. You will need to format your drive as GUID/GPT in Disk Utility")])]),e._v(" "),a("h1",{attrs:{id:"once-finished-head-to-booting-opencore-and-macos"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#once-finished-head-to-booting-opencore-and-macos"}},[e._v("#")]),e._v(" Once finished, head to "),a("RouterLink",{attrs:{to:"/BOOT.html"}},[e._v("Booting OpenCore and macOS")])],1)])}),[],!1,null,null,null);t.default=i.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{338:function(t,e,n){},387:function(t,e,n){"use strict";n(338)},409:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(387),n(25)),p=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=p.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{338:function(t,e,n){},388:function(t,e,n){"use strict";n(338)},411:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(388),n(25)),p=Object(r.a)(i,void 0,void 0,!1,null,"15b7b770",null);e.default=p.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{339:function(e,t,c){},388:function(e,t,c){"use strict";c(339)},393:function(e,t,c){"use strict";c.r(t);var i={name:"CodeBlock",props:{title:{type:String,required:!0},active:{type:Boolean,default:!1}}},n=(c(388),c(25)),s=Object(n.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"theme-code-block",class:{"theme-code-block__active":this.active}},[this._t("default")],2)}),[],!1,null,"6d04095e",null);t.default=s.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{339:function(e,t,c){},389:function(e,t,c){"use strict";c(339)},394:function(e,t,c){"use strict";c.r(t);var i={name:"CodeBlock",props:{title:{type:String,required:!0},active:{type:Boolean,default:!1}}},n=(c(389),c(25)),s=Object(n.a)(i,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"theme-code-block",class:{"theme-code-block__active":this.active}},[this._t("default")],2)}),[],!1,null,"6d04095e",null);t.default=s.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{340:function(e,t,o){},389:function(e,t,o){"use strict";o(340)},394:function(e,t,o){"use strict";o.r(t);o(26),o(98),o(68),o(100);var a={name:"CodeGroup",data:function(){return{codeTabs:[],activeCodeTabIndex:-1}},watch:{activeCodeTabIndex:function(e){this.codeTabs.forEach((function(e){e.elm.classList.remove("theme-code-block__active")})),this.codeTabs[e].elm.classList.add("theme-code-block__active")}},mounted:function(){var e=this;this.codeTabs=(this.$slots.default||[]).filter((function(e){return Boolean(e.componentOptions)})).map((function(t,o){return""===t.componentOptions.propsData.active&&(e.activeCodeTabIndex=o),{title:t.componentOptions.propsData.title,elm:t.elm}})),-1===this.activeCodeTabIndex&&this.codeTabs.length>0&&(this.activeCodeTabIndex=0)},methods:{changeCodeTab:function(e){this.activeCodeTabIndex=e}}},c=(o(389),o(25)),n=Object(c.a)(a,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"theme-code-group"},[o("div",{staticClass:"theme-code-group__nav"},[o("ul",{staticClass:"theme-code-group__ul"},e._l(e.codeTabs,(function(t,a){return o("li",{key:t.title,staticClass:"theme-code-group__li"},[o("button",{staticClass:"theme-code-group__nav-tab",class:{"theme-code-group__nav-tab-active":a===e.activeCodeTabIndex},on:{click:function(t){return e.changeCodeTab(a)}}},[e._v("\n "+e._s(t.title)+"\n ")])])})),0)]),e._v(" "),e._t("default"),e._v(" "),e.codeTabs.length<1?o("pre",{staticClass:"pre-blank"},[e._v("// Make sure to add code blocks to your code group")]):e._e()],2)}),[],!1,null,"32c2d7ed",null);t.default=n.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{340:function(e,t,o){},390:function(e,t,o){"use strict";o(340)},395:function(e,t,o){"use strict";o.r(t);o(26),o(98),o(68),o(100);var a={name:"CodeGroup",data:function(){return{codeTabs:[],activeCodeTabIndex:-1}},watch:{activeCodeTabIndex:function(e){this.codeTabs.forEach((function(e){e.elm.classList.remove("theme-code-block__active")})),this.codeTabs[e].elm.classList.add("theme-code-block__active")}},mounted:function(){var e=this;this.codeTabs=(this.$slots.default||[]).filter((function(e){return Boolean(e.componentOptions)})).map((function(t,o){return""===t.componentOptions.propsData.active&&(e.activeCodeTabIndex=o),{title:t.componentOptions.propsData.title,elm:t.elm}})),-1===this.activeCodeTabIndex&&this.codeTabs.length>0&&(this.activeCodeTabIndex=0)},methods:{changeCodeTab:function(e){this.activeCodeTabIndex=e}}},c=(o(390),o(25)),n=Object(c.a)(a,(function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"theme-code-group"},[o("div",{staticClass:"theme-code-group__nav"},[o("ul",{staticClass:"theme-code-group__ul"},e._l(e.codeTabs,(function(t,a){return o("li",{key:t.title,staticClass:"theme-code-group__li"},[o("button",{staticClass:"theme-code-group__nav-tab",class:{"theme-code-group__nav-tab-active":a===e.activeCodeTabIndex},on:{click:function(t){return e.changeCodeTab(a)}}},[e._v("\n "+e._s(t.title)+"\n ")])])})),0)]),e._v(" "),e._t("default"),e._v(" "),e.codeTabs.length<1?o("pre",{staticClass:"pre-blank"},[e._v("// Make sure to add code blocks to your code group")]):e._e()],2)}),[],!1,null,"32c2d7ed",null);t.default=n.exports}}]);
|
||||
@@ -1 +1 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{337:function(t,e,n){},386:function(t,e,n){"use strict";n(337)},408:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(386),n(25)),p=Object(r.a)(i,void 0,void 0,!1,null,"68228156",null);e.default=p.exports}}]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{337:function(t,e,n){},387:function(t,e,n){"use strict";n(337)},410:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(387),n(25)),p=Object(r.a)(i,void 0,void 0,!1,null,"68228156",null);e.default=p.exports}}]);
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user