Skip to content

Commit f63dd40

Browse files
committed
Add Create Shortcut Script for Ubuntu
1 parent 1e062d7 commit f63dd40

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/sh
2+
PWD=`pwd`
3+
DIR=${PWD%/*}
4+
5+
touch Superalgos.desktop
6+
7+
echo "[Desktop Entry]
8+
Type=Application
9+
Encoding=UTF-8
10+
Name=Superalgos
11+
Comment=Launch Shortcut for Superalgos
12+
Path=$PWD
13+
Exec=gnome-terminal -e $PWD/launch-linux.sh
14+
Terminal=true
15+
Icon=$DIR/Projects/Superalgos/Icons/superalgos.png
16+
Categories=Application;" > Superalgos.desktop
17+
18+
chmod +x Superalgos.desktop
19+
20+
cp Superalgos.desktop ~/Desktop/Superalgos.desktop
21+
cp Superalgos.desktop ~/.local/share/applications/Superalgos.desktop
22+
23+
rm Superalgos.desktop
24+
25+
# Keep terminal open for debugging
26+
#$SHELL

0 commit comments

Comments
 (0)