@@ -542,9 +542,9 @@ def _create_launchers(self):
542542 command = 'wscript.exe' ,
543543 args = r'Noshell.vbs qtdesigner.bat' )
544544
545- # self.create_launcher('Qt Linguist.exe', 'qtlinguist.ico',
546- # command='wscript.exe',
547- # args=r'Noshell.vbs qtlinguist.bat')
545+ self .create_launcher ('Qt Linguist.exe' , 'qtlinguist.ico' ,
546+ command = 'wscript.exe' ,
547+ args = r'Noshell.vbs qtlinguist.bat' )
548548
549549 # Jupyter launchers
550550 self .create_launcher ('IPython Qt Console.exe' , 'ipython.ico' ,
@@ -669,7 +669,7 @@ def _create_batch_scripts_initial(self):
669669rem ******************
670670rem handle Pyzo configuration part
671671rem ******************
672- mkdir %HOME%\.pyzo
672+ if not exist "%HOME%\.pyzo" mkdir %HOME%\.pyzo
673673if exist "%HOME%\.pyzo\config.ssdf" goto after_pyzo_conf
674674set tmp_pyz="%HOME%\.pyzo\config.ssdf"
675675echo shellConfigs2 = list:>>%tmp_pyz%
@@ -1188,10 +1188,14 @@ def _create_batch_scripts(self):
11881188 ) else (
11891189 cd/D "%WINPYDIR%\Lib\site-packages\PyQt5"
11901190 "%WINPYDIR%\Lib\site-packages\PyQt5\linguist.exe" %*
1191- ) else (
1191+ )
1192+ ) else if exist "%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" (
11921193 cd/D "%WINPYDIR%\Lib\site-packages\PyQt4"
11931194 "%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" %*
1195+ ) else (
1196+ "%WINPYDIR%\Lib\site-packages\PySide2\linguist.exe" %*
11941197)
1198+
11951199""" )
11961200
11971201 self .create_python_batch ('register_python.bat' , 'register_python' ,
0 commit comments