diff options
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." |