init
This commit is contained in:
10
.local/bin/saoScrip_launch
Executable file
10
.local/bin/saoScrip_launch
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# Créer le dossier logs s'il n'existe pas
|
||||
mkdir -p ~/Games/Others/TriggersClient/logs
|
||||
|
||||
# Générer le nom de fichier avec timestamp
|
||||
LOGFILE=~/Games/Others/TriggersClient/logs/triggers_$(date +%d-%m-%Y_%H-%M-%S).log
|
||||
|
||||
# Lancer l'application avec logging
|
||||
~/Games/Others/TriggersClient/Triggers-Client-linux-x86_64.AppImage --enable-logging=stderr --v=1 2>&1 | tee "$LOGFILE"
|
||||
Reference in New Issue
Block a user