diff --git a/launcher/SurviePote.desktop b/launcher/SurviePote.desktop new file mode 100755 index 0000000..96eeb6c --- /dev/null +++ b/launcher/SurviePote.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Name=SurviePote +GenericName=Minecraft Launcher +Comment=Launcher officiel SurviePote — rejoins mcpv.ihorizon.org +Exec=/home/kisakay/Documents/Code/HomeLabGitea/mc/launcher/SurviePote.sh +Icon=/home/kisakay/Documents/Code/HomeLabGitea/mc/launcher/build/icon.png +Terminal=false +Type=Application +Categories=Game; +StartupNotify=true +Keywords=minecraft;surviepote;game; diff --git a/launcher/SurviePote.sh b/launcher/SurviePote.sh new file mode 100755 index 0000000..3c41f31 --- /dev/null +++ b/launcher/SurviePote.sh @@ -0,0 +1,4 @@ +#!/bin/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'