mirror of
https://github.com/MatthewL246/pretendo-docker.git
synced 2026-04-24 15:26:46 -05:00
Fix setup on macOS
This commit is contained in:
parent
e4b1c0abc7
commit
6a13b4c8bf
|
|
@ -24,9 +24,10 @@ Before you start setting up the Pretendo Network server, make sure your system m
|
|||
| --------------------------------- | -------------- |
|
||||
| Windows (Docker Desktop on WSL 2) | ✅ Working |
|
||||
| Linux (Docker Engine) | ✅ Working |
|
||||
| macOS (Docker Desktop) | ❓ Untested\* |
|
||||
| macOS (Docker Desktop) | ✅ Working\* |
|
||||
|
||||
_\*macOS is untested because I don't own the hardware to test it with. In theory, it should work._
|
||||
_\*Please note that this project is not regularly tested on macOS, but users have reported that it works. If you
|
||||
encounter any issues, please report them!_
|
||||
|
||||
## Software
|
||||
|
||||
|
|
|
|||
|
|
@ -14,12 +14,12 @@ parse_arguments "$@"
|
|||
|
||||
generate_password() {
|
||||
length=$1
|
||||
head /dev/urandom | tr -dc "a-zA-Z0-9" | head -c "$length"
|
||||
head /dev/urandom | LC_ALL=C tr -dc "a-zA-Z0-9" | head -c "$length"
|
||||
}
|
||||
|
||||
generate_hex() {
|
||||
length=$1
|
||||
head /dev/urandom | tr -dc "A-F0-9" | head -c "$length"
|
||||
head /dev/urandom | LC_ALL=C tr -dc "A-F0-9" | head -c "$length"
|
||||
}
|
||||
|
||||
cd "$git_base_dir/environment"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user