Skip to content

Commit 9978bfd

Browse files
committed
Spyder "edit with" working as expected
1 parent 09ac673 commit 9978bfd

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

portable/launchers_final/Spyder.exe

24.5 KB
Binary file not shown.
21.5 KB
Binary file not shown.
Binary file not shown.

portable/scripts/winspyder.bat

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
@echo off
22
call "%~dp0env_for_icons.bat" %*
3-
"%WINPYDIR%\scripts\spyder.exe" %* -w "%WINPYWORKDIR1%"
3+
rem "%WINPYDIR%\scripts\spyder.exe" %* -w "%WINPYWORKDIR1%"
4+
"%WINPYDIR%\scripts\spyder.exe" %*
5+

winpython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
OTHER DEALINGS IN THE SOFTWARE.
2929
"""
3030

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

winpython/associate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def register_in_registery(target, current=True, reg_type=winreg.REG_SZ, verbose=
133133
lost_entries.append((rf"Software\Classes\Python.NoConFile\shell\Edit with IDLE", None, None))
134134

135135
if Path(spyder_exe).exists():
136-
dynamic_entries.append((rf"Software\Classes\Python.File\shell\Edit with Spyder\command", None, f'"{spyder_exe}" "%1"'))
137-
dynamic_entries.append((rf"Software\Classes\Python.NoConFile\shell\Edit with Spyder\command", None, f'"{spyder_exe}" "%1"'))
136+
dynamic_entries.append((rf"Software\Classes\Python.File\shell\Edit with Spyder\command", None, f'"{spyder_exe}" "%1" -w "%~p1."'))
137+
dynamic_entries.append((rf"Software\Classes\Python.NoConFile\shell\Edit with Spyder\command", None, f'"{spyder_exe}" "%1" -w "%~p1."'))
138138
lost_entries.append((rf"Software\Classes\Python.File\shell\Edit with Spyder", None, None))
139139
lost_entries.append((rf"Software\Classes\Python.NoConFile\shell\Edit with Spyder", None, None))
140140

0 commit comments

Comments
 (0)