diff --git a/bin/kuso b/bin/kuso index fbfec7c..37f94d4 100755 --- a/bin/kuso +++ b/bin/kuso @@ -1,3 +1,3 @@ #! /bin/sh -emacs -q -l ~/.kuso $1 \ No newline at end of file +emacs --title KusoIDE -q -l ~/.kuso $1 \ No newline at end of file diff --git a/install.sh b/install.sh index 66bafc8..8cec87c 100755 --- a/install.sh +++ b/install.sh @@ -1,9 +1,9 @@ #! /bin/bash -VERSION="0.12.0" +VERSION=$(emacs -l src/lib/version.el --eval "(princ (get_version))" --batch -Q) # Gathering informations -echo -e "\n\tKuso IDE v$VERSION copyright 2010-2011 Sameer Rahmani \n\n" +echo -e "\n\tKuso IDE $VERSION copyright 2010-2011 Sameer Rahmani \n\n" echo "Enter requested informations. You can change it later in top" echo -e "level customization.\n\n" condition="1" diff --git a/src/lib/abous.el b/src/lib/abous.el index d9bc92e..ce55eb9 100644 --- a/src/lib/abous.el +++ b/src/lib/abous.el @@ -15,7 +15,7 @@ ;; along with this program. If not, see . (defvar aboutkusoidemsg " -Kuso IDE v%%VERSION%% Copyright © 2010-2011 Sameer Rahmani +Kuso IDE %%VERSION%% Copyright © 2010-2011 Sameer Rahmani Kuso IDE release under the term of GPLv2. Home page: diff --git a/src/lib/version.el b/src/lib/version.el index bb9760b..8ff8adb 100644 --- a/src/lib/version.el +++ b/src/lib/version.el @@ -14,5 +14,14 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . -(defvar KUSO-VERSION "0.13.0" - "KusoIDE version string") \ No newline at end of file +(defvar KUSO-VERSION "v0.13.0" + "KusoIDE version string") + + +(defun get_version () + "Return the Version number, to use in shell script" + (let (version) + (setq version KUSO-VERSION) + + ) +) \ No newline at end of file