docs(macos-compatibility): update README with information regarding macOS

This commit is contained in:
sidneys 2020-04-07 23:56:04 +02:00
parent cf56b0077a
commit 8812fcd7f0
2 changed files with 16 additions and 6 deletions

View File

@ -299,18 +299,17 @@ if ! which cabextract >/dev/null 2>&1 \
echo " - chntpw" echo " - chntpw"
echo " - genisoimage or mkisofs" echo " - genisoimage or mkisofs"
echo "" echo ""
if [ `uname` == "Linux" ]; then if [ `uname` == "Linux" ]; then
# Linux # Linux
echo "If you use Debian or Ubuntu you can install these using:" echo "If you use Debian or Ubuntu you can install these using:"
echo "sudo apt-get install cabextract wimtools chntpw genisoimage" echo "sudo apt-get install cabextract wimtools chntpw genisoimage"
elif [ `uname` == "Darwin" ]; then elif [ `uname` == "Darwin" ]; then
# macOS # macOS
echo "macOS requires Homebrew (https://brew.sh) to install the prerequisite software."
echo "If you use Homebrew, you can install these using:" echo "If you use Homebrew, you can install these using:"
echo "brew tap sidneys/homebrew" echo "brew tap sidneys/homebrew"
echo "brew install cabextract wimlib cdrtools sidneys/homebrew/chntpw" echo "brew install cabextract wimlib cdrtools sidneys/homebrew/chntpw"
fi fi
exit 1 exit 1
fi fi

View File

@ -2,7 +2,7 @@ UUP converter
------------- -------------
### Description ### Description
A basic UUP converter aimed for Linux users who don't have access to any A basic UUP converter aimed at Linux and macOS users who don't have access to any
Windows machine, but want or need to create an ISO image for latest Windows Windows machine, but want or need to create an ISO image for latest Windows
Insider version downloaded from UUP dump. Insider version downloaded from UUP dump.
@ -50,7 +50,7 @@ option.
### Configuration file ### Configuration file
Configuration of advanced script options can be modified using Configuration of advanced script options can be modified using
convert_config_linux file. the file `convert_config_linux` (on Linux) or `convert_config_macos` (on macOS).
###### Configuration options ###### Configuration options
``` ```
@ -66,14 +66,25 @@ This script uses the following commands to do its work:
* cabextract - to extract cabs * cabextract - to extract cabs
* wimlib-imagex - to export files from metadata ESD * wimlib-imagex - to export files from metadata ESD
* chntpw - to modify registry of first index of boot.wim * chntpw - to modify registry of first index of boot.wim
* genisoimage - to create ISO image * genisoimage or mkisofs - to create ISO image
###### Linux
If you use Debian or Ubuntu based distribution you can quickly install these If you use Debian or Ubuntu based distribution you can quickly install these
using the following command: using the following command:
``` ```bash
sudo apt-get install cabextract wimtools chntpw genisoimage sudo apt-get install cabextract wimtools chntpw genisoimage
``` ```
If you use any other distribution, then you will need to check its repository If you use any other distribution, then you will need to check its repository
for packages needed to run this script. for packages needed to run this script.
###### macOS
macOS requires [Homebrew](https://brew.sh) to install the prerequisite software.
After Homebrew was installed, you can install the requirements using:
```bash
brew tap sidneys/homebrew
brew install cabextract wimlib cdrtools sidneys/homebrew/chntpw
```