Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b54375f

Browse files
authored
Merge pull request #1081 from stonebig/master
Add WinPython Terminal icon
2 parents 5369694 + 39d0ff1 commit b54375f

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

make.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,13 @@ def _create_launchers(self):
877877
args=r'/k cmd_ps.bat',
878878
)
879879

880+
self.create_launcher(
881+
'WinPython Terminal.exe',
882+
'terminal.ico',
883+
command='$SYSDIR\cmd.exe',
884+
args=r'/k WinPython_Terminal.bat',
885+
)
886+
880887
self.create_launcher(
881888
'WinPython Interpreter.exe',
882889
'python.ico',
@@ -1627,6 +1634,15 @@ def _create_batch_scripts(self):
16271634
cmd.exe /k""",
16281635
)
16291636

1637+
self.create_batch_script(
1638+
'WinPython_Terminal.bat',
1639+
r"""@echo off
1640+
call "%~dp0env_for_icons.bat" %*
1641+
if not "%WINPYWORKDIR%"=="%WINPYWORKDIR1%" cd %WINPYWORKDIR1%
1642+
%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\wt.exe""",
1643+
)
1644+
1645+
16301646
self.create_batch_script(
16311647
'python.bat',
16321648
r"""@echo off

portable/icons/terminal.ico

50.9 KB
Binary file not shown.

winpython/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-----------------------------------------
55
66
Copyright (c) 2012-2013 Pierre Raybaut
7-
Copyright (c) 2014-2021+ The Winpython development team https://github.com/winpython/
7+
Copyright (c) 2014-2022+ The Winpython development team https://github.com/winpython/
88
99
Permission is hereby granted, free of charge, to any person
1010
obtaining a copy of this software and associated documentation
@@ -28,6 +28,6 @@
2828
OTHER DEALINGS IN THE SOFTWARE.
2929
"""
3030

31-
__version__ = '4.6.20220501'
31+
__version__ = '4.7.20220701'
3232
__license__ = __doc__
3333
__project_url__ = 'http://winpython.github.io/'

0 commit comments

Comments
 (0)