SurviePote.sh: shebang env bash + chemins absolus (fix NixOS sans /bin/bash)

This commit is contained in:
kisakay
2026-10-18 19:45:34 +02:00
parent 101698b75b
commit 3143443a8d
+4 -3
View File
@@ -1,4 +1,5 @@
#!/bin/bash #!/usr/bin/env bash
# SurviePote — lance le launcher (nix-shell : Java 25 + Node 22 + libs). # SurviePote — lance le launcher (nix-shell : Java 25 + Node 22 + libs).
cd "$(dirname "$0")" set -e
exec nix-shell .. --run 'cd launcher && npx electron . --no-sandbox' ROOT="/home/kisakay/Documents/Code/HomeLabGitea/mc"
exec nix-shell "$ROOT" --run "cd launcher && npx electron . --no-sandbox"