SurviePote.sh: shebang env bash + chemins absolus (fix NixOS sans /bin/bash)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# SurviePote — lance le launcher (nix-shell : Java 25 + Node 22 + libs).
|
||||
cd "$(dirname "$0")"
|
||||
exec nix-shell .. --run 'cd launcher && npx electron . --no-sandbox'
|
||||
set -e
|
||||
ROOT="/home/kisakay/Documents/Code/HomeLabGitea/mc"
|
||||
exec nix-shell "$ROOT" --run "cd launcher && npx electron . --no-sandbox"
|
||||
|
||||
Reference in New Issue
Block a user