ajout du script d'extraction
This commit is contained in:
parent
ca1549b5ad
commit
7f8163e747
1 changed files with 20 additions and 0 deletions
20
dist/khanat/autoextract_script.sh
vendored
Normal file
20
dist/khanat/autoextract_script.sh
vendored
Normal file
|
@ -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 <<EOF>> $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”
|
Loading…
Reference in a new issue