diff --git a/make.py b/make.py index b076dbcd..83c61094 100644 --- a/make.py +++ b/make.py @@ -877,6 +877,13 @@ def _create_launchers(self): args=r'/k cmd_ps.bat', ) + self.create_launcher( + 'WinPython Terminal.exe', + 'terminal.ico', + command='$SYSDIR\cmd.exe', + args=r'/k WinPython_Terminal.bat', + ) + self.create_launcher( 'WinPython Interpreter.exe', 'python.ico', @@ -1627,6 +1634,15 @@ def _create_batch_scripts(self): cmd.exe /k""", ) + self.create_batch_script( + 'WinPython_Terminal.bat', + r"""@echo off +call "%~dp0env_for_icons.bat" %* +if not "%WINPYWORKDIR%"=="%WINPYWORKDIR1%" cd %WINPYWORKDIR1% +%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe""", + ) + + self.create_batch_script( 'python.bat', r"""@echo off diff --git a/portable/icons/terminal.ico b/portable/icons/terminal.ico new file mode 100644 index 00000000..6c009d6f Binary files /dev/null and b/portable/icons/terminal.ico differ diff --git a/winpython/__init__.py b/winpython/__init__.py index dffe5fc7..cd8a9727 100644 --- a/winpython/__init__.py +++ b/winpython/__init__.py @@ -4,7 +4,7 @@ ----------------------------------------- Copyright (c) 2012-2013 Pierre Raybaut -Copyright (c) 2014-2021+ The Winpython development team https://github.com/winpython/ +Copyright (c) 2014-2022+ The Winpython development team https://github.com/winpython/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation @@ -28,6 +28,6 @@ OTHER DEALINGS IN THE SOFTWARE. """ -__version__ = '4.6.20220501' +__version__ = '4.7.20220701' __license__ = __doc__ __project_url__ = 'http://winpython.github.io/'