corpnewt / gibMacOS

Py2/py3 script that can download macOS components direct from Apple
MIT License
5.79k stars 771 forks source link

Error gibMacOS.command #213

Open MatV3000 opened 3 years ago

MatV3000 commented 3 years ago

Hey guys !!

First, I apologize for my english and cause I am a beginner and don’t have a lot of knowledges in what you do (but you do a great work, 😉).

I would like to download Mac OS Catalina from an old MacBook with MacOS 10.4.11 (to create a bootable USB drive with UniBeast for my hackintosh). So, I download the GibMacOS files and unzipped it on the MacBook desktop but when I open gibMacOs.command, it is appear a SyntaxError line 60.

Here is the text I have : — [...] File ‘’/Users/xxxxxxx/Desktop/gibMacOS-master/gibMacOS.command’’, line 60 width = width if width > self.min_w else self.min_w ^ SyntaxError: invalid syntax Logout [Opération terminée] __

I try to download the files twice to verify it was not a problem with downloading but I always have the same issue.

Is anabody can help ? Thank !!

tulioalberto commented 2 years ago

hey bro, did yout fix the problem? I'm with the same thing

msl101181 commented 2 years ago

Use macrecovery instead: https://github.com/acidanthera/OpenCorePkg/releases. Download that project, extract and CD into that folder. Then run one of the following commands depending on which version you wish to download:

Lion (10.7):

python3 ./macrecovery.py -b Mac-2E6FAB96566FE58C -m 00000000000F25Y00 download python3 ./macrecovery.py -b Mac-C3EC7CD22292981F -m 00000000000F0HM00 download

Mountain Lion (10.8):

python3 ./macrecovery.py -b Mac-7DF2A3B5E5D671ED -m 00000000000F65100 download

Mavericks (10.9):

python3 ./macrecovery.py -b Mac-F60DEB81FF30ACF6 -m 00000000000FNN100 download

Yosemite (10.10):

python3 ./macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000GDVW00 download

El Capitan (10.11):

python3 ./macrecovery.py -b Mac-FFE5EF870D7BA81A -m 00000000000GQRX00 download

Sierra (10.12):

python3 ./macrecovery.py -b Mac-77F17D7DA9285301 -m 00000000000J0DX00 download

High Sierra (10.13)

python3 ./macrecovery.py -b Mac-7BA5B2D9E42DDD94 -m 00000000000J80300 download python3 ./macrecovery.py -b Mac-BE088AF8C5EB4FA2 -m 00000000000J80300 download

Mojave (10.14)

python3 ./macrecovery.py -b Mac-7BA5B2DFE22DDD8C -m 00000000000KXPG00 download

Catalina (10.15)

python3 ./macrecovery.py -b Mac-00BE6ED71E35EB86 -m 00000000000000000 download

Big Sur (11)

python3 ./macrecovery.py -b Mac-42FD25EABCABB274 -m 00000000000000000 download

Latest version

ie. Monterey (12)

python3 ./macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 download

Source: Dortania' guide on Opencore: https://dortania.github.io/OpenCore-Install-Guide/installer-guide/linux-install.html#downloading-macos