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