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

Skip to content

Add WinPython Terminal icon #1081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add WinPython Terminal icon
launches WindowsTerminal
  • Loading branch information
stonebig committed Jul 1, 2022
commit 39d0ff184015c0a2fe84292b1de9b5b202ee4d17
16 changes: 16 additions & 0 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down
Binary file added portable/icons/terminal.ico
Binary file not shown.
4 changes: 2 additions & 2 deletions winpython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/'