diff --git a/setupSingleBinary.sh b/setupSingleBinary.sh index 92419f2..ec68ffc 100644 --- a/setupSingleBinary.sh +++ b/setupSingleBinary.sh @@ -7,7 +7,7 @@ openssl x509 -req -days 365 -in app/certs/cert.csr -signkey app/certs/cert.key - LOCATION="$(pwd)" -cat << EOF > $LOCATION/app/.env +cat << EOF > "$LOCATION/app/.env" # Environment variables WOL_SECRET_KEY="changethis" WOL_USER_PASS="changethat" @@ -44,7 +44,7 @@ LATEST_RELEASE="$(curl -s https://git.konsthol.eu/api/v1/repos/konsthol/WOL-Ly/r if [ "$ARCH" = "x86_64" ]; then wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/"$LATEST_RELEASE"/wolServer-x86_64 elif [ "$ARCH" = "aarch64" ]; then - wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/"$LATEST_RELEASE"/wolServer-arm + wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/"$LATEST_RELEASE"/wolServer-arm64 fi chmod +x app/wolServer