8000 fix Windows Terminal icon behavior · Sadies480/winpython@0bd58a4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0bd58a4

Browse files
committed
fix Windows Terminal icon behavior
winpython#1097
1 parent fcbb36f commit 0bd58a4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

make.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -880,8 +880,8 @@ def _create_launchers(self):
880880
self.create_launcher(
881881
'WinPython Terminal.exe',
882882
'terminal.ico',
883-
command='$SYSDIR\cmd.exe',
884-
args=r'/k WinPython_Terminal.bat',
883+
command='wscript.exe',
884+
args=r'Noshell.vbs WinPython_Terminal.bat',
885885
)
886886

887887
self.create_launcher(
@@ -1639,7 +1639,9 @@ def _create_batch_scripts(self):
16391639
r"""@echo off
16401640
call "%~dp0env_for_icons.bat" %*
16411641
if not "%WINPYWORKDIR%"=="%WINPYWORKDIR1%" cd %WINPYWORKDIR1%
1642-
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe""",
1642+
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe
1643+
exit
1644+
""",
16431645
)
16441646

16451647

0 commit comments

Comments
 (0)
0