5T33Z0 / OC-Little-Translated

ACPI Hotpatches and Guides for the OpenCore Bootmanager. Enhance and fine-tune your system by adding devices and enabling additional features not covered in the OpenCore Install Guide.
BSD 3-Clause "New" or "Revised" License
504 stars 71 forks source link

Not an issue #75

Closed chris1111 closed 1 year ago

chris1111 commented 1 year ago

Hi @5T33Z0

Extract AMFIPass-v1.2.1 without installing OCLP-AMFIPass

Simple bash script command AMFIPass-v1.2.1-Extract.zip

Screenshot 2023-05-31 at 05 17 04

Screenshot 2023-05-31 at 05 26 53

Screenshot 2023-05-30 at 22 03 57

echo -n "Please move to terminal window ➤ \ OpenCore-Patcher.app \ Followed by ENTER: "

while [ -z "$AMFIPass" ]; do read AMFIPass done if [ ! -d "$AMFIPass" ]; then echo "$AMFIPass not found"; exit; fi else AMFIPass="$2" fi

open Installer.app

echo -n password | hdiutil attach -stdinpass -owners on -nobrowse -noverify -mountpoint /tmp/AMFI "$AMFIPass"/Contents/Resources/payloads.dmg

cp -Rp /tmp/AMFI/Kexts/Acidanthera/AMFIPass-v1.2.1-RELEASE.zip $HOME/Desktop Sleep 1 Umount -f /tmp/AMFI

echo "Done ➤ $HOME/Desktop/AMFIPass-v1.2.1-RELEASE.zip"

5T33Z0 commented 1 year ago

Wow, that's cool. But I don't know what to do. I don't understand the instruction "Please move to the windows ➤ \OpenCore-Patcher.app\". Can you explain? Thank you.

EDIT: I got it now. Maybe the instruction should say: "Add path to OpenCore-Patcher.app and press Enter"

It's working.

chris1111 commented 1 year ago

EDIT AMFIPass-v1.2.1-Extract.zip

echo -n "Please move to terminal window ➤ \ OpenCore-Patcher.app \ Followed by ENTER: "

while [ -z "$AMFIPass" ]; do read AMFIPass done if [ ! -d "$AMFIPass" ]; then echo "$AMFIPass not found"; exit; fi else AMFIPass="$2" fi

open Installer.app

echo -n password | hdiutil attach -stdinpass -owners on -nobrowse -noverify -mountpoint /tmp/AMFI "$AMFIPass"/Contents/Resources/payloads.dmg

cp -Rp /tmp/AMFI/Kexts/Acidanthera/AMFIPass-v1.2.1-RELEASE.zip $HOME/Desktop Sleep 1 Umount -f /tmp/AMFI

echo "Done ➤ $HOME/Desktop/AMFIPass-v1.2.1-RELEASE.zip"


![Screenshot 2023-05-31 at 05 17 04](https://github.com/5T33Z0/OC-Little-Translated/assets/6248794/fc86cd83-d684-4806-9e6e-7ff3c26adbb1)
chris1111 commented 1 year ago

Hi @5T33Z0 good morning

I put the script on a gist because its easy to editing. with this revision we can extract this release and the next ones of OCLP AMFIPass because it is not looking for a particular kexts number. You can edit your command script after testing it if you want.