Merge pull request #836 from harrellbm/develop
Create Windows Shortcut Script
This commit is contained in:
6 files changed
+13
-1
No files matched your search
@@ -7,5 +7,6 @@ debug.log
|
||||
Projects/Superalgos/Icons/Thumbs.db
|
||||
*.bat
|
||||
!launch-windows.bat
|
||||
!create-shortcut-windows.bat
|
||||
*.exe
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
set TARGET='%CD%\launch-windows.bat'
|
||||
set SHORTCUT='%USERPROFILE%\Desktop\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"
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
x-terminal-emulator -e "bash -c 'cd .. && node run; $SHELL'"
|
||||
@@ -1 +1,3 @@
|
||||
cd %~dp0
|
||||
cd ..
|
||||
cmd /k "node run"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
@@ -1 +0,0 @@
|
||||
x-terminal-emulator -e "bash -c 'node run; $SHELL'"
|
||||
Reference in new issue
Block a user