diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-05 19:27:48 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-05 19:27:48 +0200 |
commit | 8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6 (patch) | |
tree | 7096b67b189c0220826123c7d5b121752545d140 /kartik-setup.sh | |
download | kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.gz kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.tar.bz2 kartik-client-8cf5cefe6e91a5a1ed6eeaae4d94760d84c304a6.zip |
Presque sortie du jeu
Diffstat (limited to 'kartik-setup.sh')
-rw-r--r-- | kartik-setup.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/kartik-setup.sh b/kartik-setup.sh new file mode 100644 index 0000000..ad09d3c --- /dev/null +++ b/kartik-setup.sh @@ -0,0 +1,22 @@ +#!/bin/bash +echo "Installing Kartik, please wait." +echo "" +echo " - Removing older version" +rm -rfd "$HOME/.local/share/kartik" +rm -f "$HOME/.local/share/applications/kartik.desktop" +echo " - Copying files" +mkdir -p "$HOME/.local/share/kartik" +cp -r ./* "$HOME/.local/share/kartik" +echo " - Installing shortcut" +echo "[Desktop Entry]" > "$HOME/.local/share/applications/kartik.desktop" +echo "Version=1.0" >> "$HOME/.local/share/applications/kartik.desktop" +echo "Name=Kartik" >> "$HOME/.local/share/applications/kartik.desktop" +echo "GenericName=Kartik" >> "$HOME/.local/share/applications/kartik.desktop" +echo "Exec=$HOME/.local/share/kartik/runtime/kartik-launcher.sh" >> "$HOME/.local/share/applications/kartik.desktop" +echo "Icon=$HOME/.local/share/kartik/logo/logo.png" >> "$HOME/.local/share/applications/kartik.desktop" +echo "Terminal=false" >> "$HOME/.local/share/applications/kartik.desktop" +echo "Type=Application" >> "$HOME/.local/share/applications/kartik.desktop" +echo "StartupNotify=true" >> "$HOME/.local/share/applications/kartik.desktop" +echo "Categories=Game;" >> "$HOME/.local/share/applications/kartik.desktop" +echo "" +echo "Kartik is now installed, use the Kartik item in your launcher to get started." |