Add pre-build step before starting script

This commit is contained in:
Netsky
2025-11-11 11:14:26 +01:00
committed by GitHub
parent a37d60a9df
commit 03aa7f167f

5
run.sh
View File

@@ -1,3 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
echo "[1/2] Running pre-build..."
npm run pre-build
echo "[2/2] Starting Microsoft Rewards Script..."
nix develop --command bash -c "xvfb-run npm run start" nix develop --command bash -c "xvfb-run npm run start"