1
1
#! /usr/bin/env bash
2
- # set -x
3
-
4
- echo -e " \e[1;34mInsight (git-commit 93ab4f7)\e[0m, Tcl/Tk GUI for GDB Debugger."
2
+ COMMIT=" 5afb39f"
3
+ echo -e " \e[1;34mInsight (git-commit $COMMIT )\e[0m, Tcl/Tk GUI for GDB Debugger."
5
4
echo -e " Copyright (C) Redhat, GNU General Public License v2."
6
5
echo -e " AppImage Packaged by Antony J.R <antonyjr@pm.me>."
7
6
echo " "
@@ -10,7 +9,7 @@ mkdir -p ~/Insight
10
9
rm -rf ~ /Insight/insight
11
10
echo -e " Downloading Latest Insight..."
12
11
echo -n -e " \e[1;32m"
13
- wget -q --show-progress --progress=bar:force -O ~ /Insight/insight https://github.com/antony-jr/insight/releases/download/93ab4f7 /Insight-x86_64-pc-linux-gnu-93ab4f7 -x86_64.AppImage 2>&1
12
+ wget -q --show-progress --progress=bar:force -O ~ /Insight/insight https://github.com/antony-jr/insight/releases/download/$COMMIT /Insight-x86_64-pc-linux-gnu-$COMMIT -x86_64.AppImage 2>&1
14
13
echo -e " \e[0m"
15
14
16
15
chmod a+x ~ /Insight/insight
@@ -26,7 +25,7 @@ rm -rf squashfs-root
26
25
27
26
mv squashfs-root/insight-icon.png .icons/insight.png
28
27
29
- sed -i ' s+Name=Insight+Name=Insight GDB Debugger (git-93ab4f7 )+g' squashfs-root/Insight.desktop
28
+ sed -i ' s+Name=Insight+Name=Insight GDB Debugger (git-' $COMMIT ' )+g' squashfs-root/Insight.desktop
30
29
sed -i ' s+Exec=insight-wrapper+Exec=' $HOME ' \/Insight\/insight+g' squashfs-root/Insight.desktop
31
30
sed -i ' s+Icon=insight-icon+Icon=' $HOME ' \/Insight\/.icons\/insight.png+g' squashfs-root/Insight.desktop
32
31
@@ -37,4 +36,4 @@ rm -rf squashfs-root
37
36
38
37
echo " Updated ~/.bashrc, Restart your Console/Terminal."
39
38
echo -e " \e[1;34mStart Insight from your Application Menu.\e[0m"
40
- echo -e " \e[42mInstalled Insight Stable (git-commit 93ab4f7 ) (Target CPU: x86_64).\e[0m"
39
+ echo -e " \e[42mInstalled Insight Stable (git-commit $COMMIT ) (Target CPU: x86_64).\e[0m"
0 commit comments