From 7f8163e74748f759c00b0ed55e43801215a22b07 Mon Sep 17 00:00:00 2001 From: Erwan Georget Date: Tue, 9 Aug 2016 19:20:58 +0200 Subject: [PATCH] ajout du script d'extraction --- dist/khanat/autoextract_script.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dist/khanat/autoextract_script.sh diff --git a/dist/khanat/autoextract_script.sh b/dist/khanat/autoextract_script.sh new file mode 100644 index 000000000..e17ca5ec1 --- /dev/null +++ b/dist/khanat/autoextract_script.sh @@ -0,0 +1,20 @@ +# Création de l'entrée du menu. +mkdir -p $HOME/.local/share/applications/ $HOME/.local/share/khanat/ + +cp -r /tmp/khanat_installer/* $HOME/.local/share/khanat/ + +cat <> $HOME/.local/share/applications/khanat.desktop +[Desktop Entry] +Version=1.0 +Name=Khanat +Type=Application +GenericName=Game Client +Comment=Khanat client +TryExec=$HOME/.local/share/khanat/khanat_client +Icon=$HOME/.local/share/khanat/khanat_client.png +Terminal=false +Hidden=false +Categories=Game;Roleplaying; +EOF + +echo ”Khanat have been succefully installed” || zenity --info --title=”Khanat installer” --text=”Khanat have been succefully installed”