hieplpvip / Asus-Zenbook-Hackintosh

Run macOS on Asus Zenbook with OpenCore
199 stars 44 forks source link

Scripts don’t work #57

Closed Ubsefor closed 4 years ago

Ubsefor commented 4 years ago

Please remove the Return carriage symbol ( ‘ \r ’ ) from your scripts as they don’t work in mac os, returning me zsh: ./install.sh: bad interpreter: /bin/bash^M: no such file or directory

Ubsefor commented 4 years ago

Im talking about master branch, not catalina one

hieplpvip commented 4 years ago

Hi, I have merge catalina branch into master. install.sh works for me.

Can you test again?

Ubsefor commented 4 years ago

Hi, I have merge catalina branch into master. install.sh works for me.

Can you test again?

Sorry for long reply, the scripts seem to be working for me, updated kexts with them, thank you

Ubsefor commented 4 years ago

Hello, tested scripts again, they seem to fail

Current fix:

Use dos2unix app on all scripts in repo, also in src and tools And rename folders to remove "?" character at the end of them, so acpi can be build

And be careful around DSDT and SSDT tables, don’t dos2unix them by mistake! This will cause your hackintosh to fail to boot!

Ubsefor commented 4 years ago

It turned out that it was GitHub’s line ending handling that broke the scripts

So for anyone having this issue on MacOS, simply configure git in the following way: git config --global core.autocrlf input

That should do

More about this here: GitHub Help Page