mirror of
https://github.com/thewesker/osx-iso.git
synced 2025-12-19 20:01:13 -05:00
Added support for macOS Catalina
Updated readme Fixed ISO size for mac OS Catalina
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
The appropriate installation app file(s) must be located in `/Applications` i.e.
|
||||
|
||||
```
|
||||
/Applications/Install macOS Catalina.app
|
||||
/Applications/Install macOS Mojave.app
|
||||
/Applications/Install macOS High Sierra.app
|
||||
/Applications/Install macOS Sierra.app
|
||||
@@ -29,9 +30,9 @@ $ brew install osx-iso
|
||||
```sh
|
||||
$ osxiso
|
||||
|
||||
1) macOS Mojave 4) OS X El Capitan 7) Quit
|
||||
2) macOS High Sierra 5) OS X Yosemite
|
||||
3) macOS Sierra 6) OS X Mavericks
|
||||
1) macOS Catalina 4) macOS Sierra 7) OS X Mavericks
|
||||
2) macOS Mojave 5) OS X El Capitan 8) Quit
|
||||
3) macOS High Sierra 6) OS X Yosemite
|
||||
|
||||
Select OS or Quit:
|
||||
```
|
||||
|
||||
7
osxiso
7
osxiso
@@ -9,8 +9,9 @@ Select OS or Quit: "
|
||||
build_mount="/Volumes/install_build"
|
||||
app_mount="/Volumes/install_app"
|
||||
apps_v1="|macOS Sierra|OS X El Capitan|OS X Yosemite|OS X Mavericks|"
|
||||
apps_v2="|macOS High Sierra|macOS Mojave|"
|
||||
apps_v2="|macOS High Sierra|macOS Mojave|macOS Catalina|"
|
||||
apps=(
|
||||
"macOS Catalina"
|
||||
"macOS Mojave"
|
||||
"macOS High Sierra"
|
||||
"macOS Sierra"
|
||||
@@ -117,8 +118,8 @@ Select OS or Quit: "
|
||||
|
||||
prep_build "$1"
|
||||
|
||||
# Create a blank ISO of 7316MB with a Single Partition
|
||||
hdiutil create -o "$temp/$1.cdr" -size 7316m -layout SPUD -fs HFS+J
|
||||
# Create a blank ISO of 8121MB (7,93 GiB) with a Single Partition
|
||||
hdiutil create -o "$temp/$1.cdr" -size 8121m -layout SPUD -fs HFS+J
|
||||
|
||||
# Mount the blank ISO
|
||||
hdiutil attach "$temp/$1.cdr.dmg" -noverify -nobrowse -mountpoint "$build_mount"
|
||||
|
||||
Reference in New Issue
Block a user