forgot we're not using a smart language

This commit is contained in:
2024-12-15 22:42:31 +02:00
parent e50cce1762
commit ccbef6ef5e
2 changed files with 11 additions and 4 deletions

View File

@@ -38,7 +38,14 @@ RestartSec=3
WantedBy=multi-user.target
EOF
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer
ARCH="$(uname -m)"
if [ "$ARCH" = "x86_64" ]; then
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer-x86_64
elif [ "$ARCH" = "aarch64" ]; then
wget -O app/wolServer https://git.konsthol.eu/konsthol/WOL-Ly/releases/download/v1.0.0/wolServer-arm
fi
chmod +x app/wolServer
systemctl daemon-reload