From 8e87370cfb81b2ee4c5b7f61ff557e67eb3cc63d Mon Sep 17 00:00:00 2001 From: Brenden Harrell Date: Sun, 23 May 2021 10:06:16 -0600 Subject: [PATCH] Delete: Old create-shortcut Scripts --- Launch-Scripts/create-shortcut-ubuntu.sh | 26 ---------------------- Launch-Scripts/create-shortcut-windows.bat | 12 ---------- 2 files changed, 38 deletions(-) delete mode 100755 Launch-Scripts/create-shortcut-ubuntu.sh delete mode 100644 Launch-Scripts/create-shortcut-windows.bat diff --git a/Launch-Scripts/create-shortcut-ubuntu.sh b/Launch-Scripts/create-shortcut-ubuntu.sh deleted file mode 100755 index ff10a98c4..000000000 --- a/Launch-Scripts/create-shortcut-ubuntu.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -PWD=`pwd` -DIR=${PWD%/*} - -touch Superalgos.desktop - -echo "[Desktop Entry] -Type=Application -Encoding=UTF-8 -Name=Superalgos -Comment=Launch Shortcut for Superalgos -Path=$PWD -Exec=gnome-terminal -e $PWD/launch-linux.sh -Terminal=true -Icon=$DIR/Projects/Superalgos/Icons/superalgos.png -Categories=Application;" > Superalgos.desktop - -chmod +x Superalgos.desktop - -cp Superalgos.desktop ~/Desktop/Superalgos.desktop -cp Superalgos.desktop ~/.local/share/applications/Superalgos.desktop - -rm Superalgos.desktop - -# Keep terminal open for debugging -#$SHELL \ No newline at end of file diff --git a/Launch-Scripts/create-shortcut-windows.bat b/Launch-Scripts/create-shortcut-windows.bat deleted file mode 100644 index 40d28012b..000000000 --- a/Launch-Scripts/create-shortcut-windows.bat +++ /dev/null @@ -1,12 +0,0 @@ -set TARGET='%CD%\launch-windows.bat' -set SHORTCUT='%USERPROFILE%\Desktop\Superalgos.lnk' -set STARTMENU='%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Superalgos.lnk' -set ICON='%CD%\superalgos.ico' -set PWS=powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile - -%PWS% -Command "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut(%SHORTCUT%); $S.TargetPath = %Target%; $S.IconLocation = %ICON%; $S.Save()" - -%PWS% -Command "$ws = New-Object -ComObject WScript.Shell; $s = $ws.CreateShortcut(%STARTMENU%); $S.TargetPath = %Target%; $S.IconLocation = %ICON%; $S.Save()" - -REM Keep terminal open for debug -REM cmd /k echo "keep open" \ No newline at end of file