File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ def _create_launchers(self):
490
490
491
491
self .create_launcher ('WinPython Interpreter.exe' , 'python.ico' ,
492
492
command = '$SYSDIR\cmd.exe' ,
493
- args = r'/k python .bat' )
493
+ args = r'/k winpython .bat' )
494
494
495
495
#self.create_launcher('IDLEX (students).exe', 'python.ico',
496
496
# command='$SYSDIR\cmd.exe',
@@ -768,6 +768,12 @@ def _create_batch_scripts(self):
768
768
self .create_batch_script ('python.bat' ,r"""@echo off
769
769
call "%~dp0env_for_icons.bat"
770
770
cd/D "%WINPYWORKDIR%"
771
+ rem backward compatibility for python command-line users
772
+ "%WINPYDIR%\python.exe" %*
773
+ """ )
774
+ self .create_batch_script ('winpython.bat' ,r"""@echo off
775
+ call "%~dp0env_for_icons.bat"
776
+ cd/D "%WINPYWORKDIR%"
771
777
rem backward compatibility for non-ptpython users
772
778
if exist "%WINPYDIR%\scripts\ptpython.exe" (
773
779
"%WINPYDIR%\scripts\ptpython.exe" %*
You can’t perform that action at this time.
0 commit comments