mirror of
https://github.com/thewesker/osx-iso.git
synced 2025-12-21 12:51:07 -05:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81607049e1 | ||
|
|
c6ea0556bc | ||
|
|
8e3699e8b1 | ||
|
|
aa035d5cc4 | ||
|
|
50ce5ae0f3 | ||
|
|
be08c30937 | ||
|
|
1702928982 | ||
|
|
a5fbdabf89 | ||
|
|
59d063bfd0 |
14
README.md
14
README.md
@@ -7,6 +7,8 @@
|
||||
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
|
||||
/Applications/Install OS X El Capitan.app
|
||||
@@ -16,10 +18,11 @@ The appropriate installation app file(s) must be located in `/Applications` i.e.
|
||||
|
||||
Mac users can download theses files from the App Store.
|
||||
|
||||
## Install with [bpkg](https://github.com/bpkg/bpkg)
|
||||
## Install with [Homebrew](https://brew.sh)
|
||||
|
||||
```sh
|
||||
$ bpkg install busterc/osx-iso -g
|
||||
$ brew tap busterc/tap
|
||||
$ brew install osx-iso
|
||||
```
|
||||
|
||||
## Usage
|
||||
@@ -27,8 +30,9 @@ $ bpkg install busterc/osx-iso -g
|
||||
```sh
|
||||
$ osxiso
|
||||
|
||||
1) macOS High Sierra 3) OS X El Capitan 5) OS X Mavericks
|
||||
2) macOS Sierra 4) OS X Yosemite 6) Quit
|
||||
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:
|
||||
```
|
||||
@@ -37,7 +41,7 @@ Select OS or Quit:
|
||||
|
||||
ISC License (ISC)
|
||||
|
||||
Copyright © 2015-2017, Buster Collings
|
||||
Copyright © 2015-2018, Buster Collings
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||
|
||||
|
||||
9
osxiso
9
osxiso
@@ -9,8 +9,11 @@ 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|"
|
||||
apps_v2="|macOS High Sierra|macOS Mojave|macOS Catalina|macOS Big Sur"
|
||||
apps=(
|
||||
"macOS Big Sur"
|
||||
"macOS Catalina"
|
||||
"macOS Mojave"
|
||||
"macOS High Sierra"
|
||||
"macOS Sierra"
|
||||
"OS X El Capitan"
|
||||
@@ -116,8 +119,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"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "osxiso",
|
||||
"version": "3.0.0",
|
||||
"version": "5.0.0",
|
||||
"description": "Create a bootable ISO of OS X / macOS, from the installation app file.",
|
||||
"global": "1",
|
||||
"install": "install -c osxiso ${PREFIX:-/usr/local}/bin",
|
||||
|
||||
Reference in New Issue
Block a user