@@ -613,27 +613,20 @@ def _create_launchers(self):
613613
614614 self ._print ("Creating launchers" )
615615
616- self .create_launcher_shimmy (
617- "WinPython Command Prompt.exe" ,
618- "cmd.ico" ,
619- command = ".\\ cmd.bat" ,
620- args = r"" ,
621- workdir = r".\scripts"
622- )
623-
616+
624617 self .create_launcher (
625618 "WinPython Command Prompt.exe" ,
626619 "cmd.ico" ,
627620 command = "$SYSDIR\cmd.exe" ,
628621 args = r"/k cmd.bat" ,
629622 )
630623
631- self .create_launcher_shimmy (
632- "WinPython Powershell Prompt.exe" ,
633- "powershell.ico" ,
634- command = "Powershell.exe" ,
635- args = r"start-process -WindowStyle Hidden -FilePath ([dollar]ENV:WINPYDIRICONS + '\scripts\cmd_ps.bat')" ,
636- )
624+ # self.create_launcher_shimmy(
625+ # "WinPython Powershell Prompt.exe",
626+ # "powershell.ico",
627+ # command="Powershell.exe",
628+ # args=r"start-process -WindowStyle Hidden -FilePath ([dollar]ENV:WINPYDIRICONS + '\scripts\cmd_ps.bat')",
629+ # )
637630
638631 self .create_launcher (
639632 "WinPython Powershell Prompt.exe" ,
@@ -642,79 +635,34 @@ def _create_launchers(self):
642635 args = r"Noshell.vbs cmd_ps.bat" ,
643636 )
644637
645- #self.create_launcher_shimmy(
646- # "WinPython Terminal.exe",
647- # "terminal.ico",
648- # command="Powershell.exe",
649- # args=r"start-process -WindowStyle Hidden './scripts/WinPython_Terminal.bat",
650- #)
651-
652- self .create_launcher_shimmy (
653- "WinPython Interpreter.exe" ,
654- "python.ico" ,
655- command = ".\\ winpython.bat" ,
656- args = r"" ,
657- workdir = r".\scripts"
658- )
659-
660638 self .create_launcher (
661639 "WinPython Interpreter.exe" ,
662640 "python.ico" ,
663641 command = "$SYSDIR\cmd.exe" ,
664642 args = r"/k winpython.bat" ,
665643 )
666644
667- self .create_launcher_shimmy (
668- "IDLE (Python GUI).exe" ,
669- "python.ico" ,
670- command = "Powershell.exe" ,
671- args = r"start-process -WindowStyle Hidden -FilePath ([dollar]ENV:WINPYDIRICONS + '\scripts\winidle.bat')" ,
672- )
673-
674645 self .create_launcher (
675646 "IDLE (Python GUI).exe" ,
676647 "python.ico" ,
677648 command = "wscript.exe" ,
678649 args = r"Noshell.vbs winidle.bat" ,
679650 )
680651
681- self .create_launcher_shimmy (
682- "Spyder.exe" ,
683- "spyder.ico" ,
684- command = "Powershell.exe" ,
685- args = r"start-process -WindowStyle Hidden -FilePath ([dollar]ENV:WINPYDIRICONS + '\scripts\winspyder.bat')" ,
686- )
687-
688652 self .create_launcher (
689653 "Spyder.exe" ,
690654 "spyder.ico" ,
691655 command = "wscript.exe" ,
692656 args = r"Noshell.vbs winspyder.bat" ,
693657 )
694658
695- self .create_launcher_shimmy (
696- "Spyder reset.exe" ,
697- "spyder_reset.ico" ,
698- command = "Powershell.exe" ,
699- args = r"start-process -WindowStyle Hidden -FilePath ([dollar]ENV:WINPYDIRICONS + '\scripts\spyder_reset.bat')" ,
700- #args=r"start-process -WindowStyle Hidden './scripts/spyder_reset.bat",
701- )
702-
703659 self .create_launcher (
704660 "Spyder reset.exe" ,
705661 "spyder_reset.ico" ,
706662 command = "wscript.exe" ,
707663 args = r"Noshell.vbs spyder_reset.bat" ,
708664 )
709665
710- self .create_launcher_shimmy (
711- "WinPython Control Panel.exe" ,
712- "winpython.ico" ,
713- command = ".\\ wpcp.bat" ,
714- args = r"" ,
715- workdir = r".\scripts"
716- )
717-
718666 self .create_launcher (
719667 "WinPython Control Panel.exe" ,
720668 "winpython.ico" ,
@@ -724,15 +672,6 @@ def _create_launchers(self):
724672
725673 # Jupyter launchers
726674
727- # this one needs a shell to kill fantom processes
728- self .create_launcher_shimmy (
729- "Jupyter Notebook.exe" ,
730- "jupyter.ico" ,
731- command = "winipython_notebook.bat" ,
732- args = r"" ,
733- workdir = r".\scripts"
734- )
735-
736675 self .create_launcher (
737676 "Jupyter Notebook.exe" ,
738677 "jupyter.ico" ,
@@ -741,29 +680,13 @@ def _create_launchers(self):
741680 # args=r'/k winjupyter_nbclassic.bat', # Jupyterlab in classic look
742681 )
743682
744- self .create_launcher_shimmy (
745- "Jupyter Lab.exe" ,
746- "jupyter.ico" ,
747- command = "winjupyter_lab.bat" ,
748- args = r"" ,
749- workdir = r".\scripts"
750- )
751-
752683 self .create_launcher (
753684 "Jupyter Lab.exe" ,
754685 "jupyter.ico" ,
755686 command = "$SYSDIR\cmd.exe" ,
756687 args = r"/k winjupyter_lab.bat" ,
757688 )
758689
759- self .create_launcher_shimmy (
760- "VS Code.exe" ,
761- "code.ico" ,
762- command = "winvscode.bat" ,
763- args = r"" ,
764- workdir = r".\scripts"
765- )
766-
767690 # VSCode launcher
768691 self .create_launcher (
769692 "VS Code.exe" ,
0 commit comments