Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b3f15e4

Browse files
committedNov 20, 2022
[RELEASE 5afb39f8fd70c3517a48af50a72c9ef9ed70d2a8] Insight 5afb39f
Changelog: * Upgrade submodule, sync patches. (upstream) * Fix requirement of absolute paths. Signed-off-by: Divya Antony J.R <antonyjr@protonmail.com>
1 parent 4307c68 commit b3f15e4

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed
 

‎install.sh

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/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."
54
echo -e "Copyright (C) Redhat, GNU General Public License v2."
65
echo -e "AppImage Packaged by Antony J.R <antonyjr@pm.me>."
76
echo ""
@@ -10,7 +9,7 @@ mkdir -p ~/Insight
109
rm -rf ~/Insight/insight
1110
echo -e "Downloading Latest Insight..."
1211
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
1413
echo -e "\e[0m"
1514

1615
chmod a+x ~/Insight/insight
@@ -26,7 +25,7 @@ rm -rf squashfs-root
2625

2726
mv squashfs-root/insight-icon.png .icons/insight.png
2827

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
3029
sed -i 's+Exec=insight-wrapper+Exec='$HOME'\/Insight\/insight+g' squashfs-root/Insight.desktop
3130
sed -i 's+Icon=insight-icon+Icon='$HOME'\/Insight\/.icons\/insight.png+g' squashfs-root/Insight.desktop
3231

@@ -37,4 +36,4 @@ rm -rf squashfs-root
3736

3837
echo "Updated ~/.bashrc, Restart your Console/Terminal."
3938
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"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Insight (git-commit 5afb39f)
2+
3+
This release fixes that executables given to the insight AppImage has to be in
4+
absolute path, so now you can give insight AppImage relative files too with no
5+
problem.
6+
7+
# Change Log (Upstream)
8+
9+
**Upgrade submodule, sync patches.**

‎update.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
2-
3-
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."
44
echo -e "Copyright (C) Redhat, GNU General Public License v2."
55
echo -e "AppImage Packaged by Antony J.R <antonyjr@pm.me>."
66
echo ""
@@ -27,7 +27,7 @@ $(pwd)/.appimageupdater -t -D insight
2727
if [ -f *.AppImage ]; then
2828
mv *.AppImage insight
2929
else
30-
echo -e "\e[42mYou already have latest Insight Stable (git-commit 93ab4f7) (Target CPU: x86_64).\e[0m"
30+
echo -e "\e[42mYou already have latest Insight Stable (git-commit $COMMIT) (Target CPU: x86_64).\e[0m"
3131
exit
3232
fi
3333

@@ -42,7 +42,7 @@ rm -rf squashfs-root
4242

4343
mv squashfs-root/insight-icon.png .icons/insight.png
4444

45-
sed -i 's+Name=Insight+Name=Insight GDB Debugger (git-93ab4f7)+g' squashfs-root/Insight.desktop
45+
sed -i 's+Name=Insight+Name=Insight GDB Debugger (git-'$COMMIT')+g' squashfs-root/Insight.desktop
4646
sed -i 's+Exec=insight-wrapper+Exec='$HOME'\/Insight\/insight+g' squashfs-root/Insight.desktop
4747
sed -i 's+Icon=insight-icon+Icon='$HOME'\/Insight\/.icons\/insight.png+g' squashfs-root/Insight.desktop
4848

@@ -53,4 +53,4 @@ rm -rf squashfs-root
5353

5454
echo "Updated ~/.bashrc, Restart your Console/Terminal."
5555
echo -e "\e[1;34mStart Insight from your Application Menu.\e[0m"
56-
echo -e "\e[42mUpdated to Insight Stable (git-commit 93ab4f7) (Target CPU: x86_64).\e[0m"
56+
echo -e "\e[42mUpdated to Insight Stable (git-commit $COMMIT) (Target CPU: x86_64).\e[0m"

0 commit comments

Comments
 (0)
Please sign in to comment.