Merge pull request #911 from harrellbm/develop

Finished Windows Shortcut Scripts and Docs
This commit is contained in:
Luis Fernando Molina authored and GitHub committed 2021-05-12 11:12:03 -04:00
commit cc75447b55
5 files changed
+35 -15

No files matched your search

+1
View File
@@ -8,5 +8,6 @@ Projects/Superalgos/Icons/Thumbs.db
*.bat
!launch-windows.bat
!create-shortcut-windows.bat
!uninstall-shortcut-windows.bat
*.exe
+5 -2
View File
@@ -1,9 +1,12 @@
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()"
#Keep terminal open for debug
#cmd /k echo "keep open"
%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"
@@ -0,0 +1,5 @@
del "%USERPROFILE%\Desktop\Superalgos.lnk"
del "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Superalgos.lnk"
REM Keep terminal open for debug
REM cmd /k echo "keep open"
@@ -99,8 +99,8 @@
},
{
"style": "Text",
"text": "Currently this script only places a shortcut on the user's desktop. Revision in progress to also place shortcut in the start menu.",
"updated": 1620053366379
"text": "This script places shortcuts within the user's start menu and desktop. The start menu shortcut is also searchable using the start menu search bar.",
"updated": 1620789169171
},
{
"style": "Subtitle",
@@ -193,18 +193,27 @@
},
{
"style": "Title",
"text": "Uninstall Shortcut Scripts",
"updated": 1620053489270
"text": "Uninstall Shortcuts",
"updated": 1620789208012
},
{
"style": "Important",
"text": "No scripts started yet. Manual deletion required.",
"updated": 1620053525531
"style": "Subtitle",
"text": "Windows",
"updated": 1620789368194
},
{
"style": "Title",
"text": "Manually Unistall Shortcuts",
"updated": 1620506058024
"style": "Text",
"text": "Open a file browser and navigate to the Superalgos directory."
},
{
"style": "Text",
"text": "Under the folder titled Launch-Scripts double-click the script:",
"updated": 1620789459938
},
{
"style": "Json",
"text": "uninstall-shortcut-windows.bat",
"updated": 1620789508304
},
{
"style": "Subtitle",
+5 -3
View File
@@ -152,7 +152,7 @@ Open a file browser and navigate to the Superalgos Directory.
Under the folder titled `Launch-Scripts` double-click the script `create-shortcut-windows.bat`.
You will see a shortcut added to your desktop. You can use it to launch Superalgos like any other program on your computer.
After running this script there will be two shortcuts added. One to your start menu and one to your desktop. You can now lauch Superalgos from any of these shortcuts, or search `Superalgos` in the start menu search bar.
## For **Ubuntu** Users
@@ -164,7 +164,7 @@ cd Superalgos/Launch-Scripts
bash create-shortcut-ubuntu.sh
```
After running these commands there will be two shortcuts added. One to your launcher and one to your desktop. The launcher shortcut will work out of the box. The desktop shortcut, however, requires a few additional steps to set up.The following section will walk you through these steps.
After running these commands there will be two shortcuts added. One to your launcher and one to your desktop. The launcher shortcut will work out of the box. The desktop shortcut, however, requires a few additional steps to set up. The following section will walk you through these steps.
**A.** Enable Desktop Shortcut
@@ -241,7 +241,9 @@ If you have installed shortcuts for Superalgos you can remove them as follows:
## For **Windows** Users
Right-click desktop shortcut and select delete.
Open a file browser and navigate to the Superalgos directory.
Under the folder titled `Launch-Scripts` double-click the script `uninstall-shortcut-windows.bat`.
## For **Ubuntu** Users