From a5acd2adb7fe6ab19dad6fa862f6af3b5f829291 Mon Sep 17 00:00:00 2001 From: Phiippe Favre Date: Sun, 27 Jul 2025 04:29:41 +0200 Subject: [PATCH] Update desktop entry and license file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Improve desktop entry with proper localization and metadata - Rename LICENCE to LICENSE for consistency - Update README content 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- Debian Gaming Deployment Tool.desktop | 37 +++++++++++++++------------ LICENCE => LICENSE | 0 README.md | 23 +++++++++++++++++ 3 files changed, 43 insertions(+), 17 deletions(-) rename LICENCE => LICENSE (100%) diff --git a/Debian Gaming Deployment Tool.desktop b/Debian Gaming Deployment Tool.desktop index eb8e1b2..b3e1844 100755 --- a/Debian Gaming Deployment Tool.desktop +++ b/Debian Gaming Deployment Tool.desktop @@ -1,20 +1,23 @@ [Desktop Entry] -Categories=Game;System; -Comment[fr_CH]=Script d'installation gaming avec interface graphique pour Debian -Comment=Script d'installation gaming avec interface graphique pour Debian -Exec=/home/sky/Documents/Documents_Philippe_Favre/gitea/debian_gaming_deployment_tool/install_gaming.sh -GenericName[fr_CH]= -GenericName= -Icon=applications-games -Keywords=gaming;installation;debian;steam;wine;lutris; -MimeType= -Name[fr_CH]=Debian Gaming Deployment Tool -Name=Debian Gaming Deployment Tool -Path= -StartupNotify=true -Terminal=false -TerminalOptions= -Type=Application Version=1.0 +Type=Application +Name=Debian Gaming Deployment Tool +Name[fr]=Outil de Déploiement Gaming Debian +Name[fr_CH]=Outil de Déploiement Gaming Debian +Comment=Gaming installation script with GUI for Debian +Comment[fr]=Script d'installation gaming avec interface graphique pour Debian +Comment[fr_CH]=Script d'installation gaming avec interface graphique pour Debian +GenericName=Gaming Setup Tool +GenericName[fr]=Outil de Configuration Gaming +GenericName[fr_CH]=Outil de Configuration Gaming +Exec=/usr/bin/install_gaming.sh +Icon=applications-games +Terminal=false +StartupNotify=true +Categories=Game;System;Utility; +Keywords=gaming;installation;debian;steam;wine;lutris;setup; +MimeType= +StartupWMClass=Debian Gaming Deployment Tool +X-GNOME-UsesNotifications=true X-KDE-SubstituteUID=false -X-KDE-Username= +X-Desktop-File-Install-Version=0.26 diff --git a/LICENCE b/LICENSE similarity index 100% rename from LICENCE rename to LICENSE diff --git a/README.md b/README.md index c12e9bb..975f9fa 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,29 @@ Le script affiche une interface graphique avec : - **Permissions :** Mot de passe sudo demandé pour chaque opération - **Prérequis :** Debian 12+, connexion Internet +### Installation système (recommandée) + +Pour installer le script dans le système et créer un raccourci bureau : + +```bash +# Copier le script dans /usr/bin +sudo cp install_gaming.sh /usr/bin/install_gaming.sh +sudo chmod +x /usr/bin/install_gaming.sh + +# Copier le fichier .desktop dans les applications +sudo cp "Debian Gaming Deployment Tool.desktop" /usr/share/applications/ + +# Créer un raccourci sur le bureau (détection automatique du chemin) +DESKTOP_PATH=$(xdg-user-dir DESKTOP 2>/dev/null || echo "$HOME/Desktop") +cp "Debian Gaming Deployment Tool.desktop" "$DESKTOP_PATH/" +chmod +x "$DESKTOP_PATH/Debian Gaming Deployment Tool.desktop" + +# Pour KDE Plasma, marquer comme exécutable +if [ "$XDG_CURRENT_DESKTOP" = "KDE" ]; then + gio set "$DESKTOP_PATH/Debian Gaming Deployment Tool.desktop" metadata::trusted true +fi +``` + ## 📄 Licence Ce projet est sous licence GNU General Public License v3.0 - voir le fichier `LICENSE` pour plus de détails.