From 3143443a8d488b86618aa4200ff3dd0333b5dbfb Mon Sep 17 00:00:00 2001 From: kisakay Date: Sun, 18 Oct 2026 19:45:34 +0200 Subject: [PATCH] SurviePote.sh: shebang env bash + chemins absolus (fix NixOS sans /bin/bash) --- launcher/SurviePote.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/launcher/SurviePote.sh b/launcher/SurviePote.sh index 3c41f31..8aad066 100755 --- a/launcher/SurviePote.sh +++ b/launcher/SurviePote.sh @@ -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"