Launcher: .desktop freedesktop + SurviePote.sh (lancement nix-shell)

This commit is contained in:
kisakay
2026-10-18 19:42:18 +02:00
parent 25cf49865b
commit 101698b75b
2 changed files with 16 additions and 0 deletions
+12
View File
@@ -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;
+4
View File
@@ -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'