From 91faaeddba5a3a9d0e06c6eee319b0ab38c13a68 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Mon, 5 Dec 2011 17:29:14 +0330 Subject: [PATCH] SB1 first standalone installation try --- bin/kuso.desktop | 2 +- images/icon.svg | 140 +++++++++++++++++++++++++++++++++++++++++++++++ install.sh | 10 +++- 3 files changed, 149 insertions(+), 3 deletions(-) create mode 100644 images/icon.svg diff --git a/bin/kuso.desktop b/bin/kuso.desktop index 0a319d2..a329091 100644 --- a/bin/kuso.desktop +++ b/bin/kuso.desktop @@ -13,7 +13,7 @@ StartupNotify=true Categories=Development;IDE; Exec=$HOME/.kuso.d/kuso %F TryExec=kuso -Icon=$HOME/.kuso.d/logo.svg +Icon=$HOME/.kuso.d/icon.svg Type=Application Terminal=false diff --git a/images/icon.svg b/images/icon.svg new file mode 100644 index 0000000..274e60f --- /dev/null +++ b/images/icon.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + KUSO IDE + + + diff --git a/install.sh b/install.sh index ef46281..284ab4f 100755 --- a/install.sh +++ b/install.sh @@ -15,7 +15,6 @@ while [ "$condition" == "1" ] ; do standalone="y" dotemacs=~/.kuso repo=~/.kuso.d - cp bin/kuso $repo condition="0" fi @@ -56,7 +55,14 @@ chmod u+x $addr/pyemacs.sh echo "Creating ~/.emacs" cp conf/dotemacs $dotemacs -v="s/--EMAIL--/$fullname/" + +if [ "$standalone" == "y" ] +then + cp bin/kuso $repo + cp bin/kuso.desktop $HOME/.local/share/applications/ + cp images/icon.svg $repo +fi + sed "s/--EMAIL--/$mail/mg" -i $dotemacs sed "s/--FULLNAME--/$fullname/mg" -i $dotemacs sed "s,--WORKSPACE--,$workspace,mg" -i $dotemacs