Skip to content

Commit

Permalink
Add support for running in recoveryOS
Browse files Browse the repository at this point in the history
  • Loading branch information
F1248 committed Aug 20, 2024
1 parent dd48070 commit d7ccc67
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
## Requirements:

### Supported macOS Versions
* macOS Big Sur 11 and later
* macOS Big Sur 11 and later, including recoveryOS

### Supported Models
* Macs (including officially unsupported ones), Hackintoshes and virtual machines

## Installation:

### Manual Installation:
### Manual Installation (not possible in recoveryOS):

1. Download [the latest build](https://nightly.link/F1248/OpenMacHelper/workflows/Build-OpenMacHelper/main/OpenMacHelper.zip).
2. If not already unzipped automatically, unzip `OpenMacHelper.zip`.
Expand Down
4 changes: 2 additions & 2 deletions README_DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
## Anforderungen:

### Unterstützte macOS-Versionen
* macOS Big Sur 11 und höher
* macOS Big Sur 11 und höher, inklusive recoveryOS

### Unterstützte Modelle
* Macs (inklusive offiziell nicht unterstützten), Hackintoshs und virtuelle Maschinen

## Installation:

### Manuelle Installation:
### Manuelle Installation (in recoveryOS nicht möglich):

1. Lade [den neusten Build](https://nightly.link/F1248/OpenMacHelper/workflows/Build-OpenMacHelper/main/OpenMacHelper.zip) herunter.
2. Wenn nicht bereits automatisch entzippt, entzippe `OpenMacHelper.zip`.
Expand Down
10 changes: 8 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

/bin/echo "
Preparing..."
cd /Applications
if [ ! -e /usr/bin/recoverydiagnose ]; then
cd /Applications
fi

/bin/echo "Downloading..."
/usr/bin/curl --silent --location https://nightly.link/F1248/OpenMacHelper/workflows/Build-OpenMacHelper/main/OpenMacHelper.zip --output OpenMacHelper.zip
Expand All @@ -15,6 +17,10 @@ cd /Applications
/bin/rm OpenMacHelper.zip

/bin/echo "Opening..."
/usr/bin/open OpenMacHelper.app
if [ -e /usr/bin/open ]; then
/usr/bin/open OpenMacHelper.app
else
OpenMacHelper.app/Contents/MacOS/OpenMacHelper
fi

/bin/echo "Done."

0 comments on commit d7ccc67

Please sign in to comment.