@@ -542,9 +542,9 @@ def _create_launchers(self):
542
542
command = 'wscript.exe' ,
543
543
args = r'Noshell.vbs qtdesigner.bat' )
544
544
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' )
548
548
549
549
# Jupyter launchers
550
550
self .create_launcher ('IPython Qt Console.exe' , 'ipython.ico' ,
@@ -669,7 +669,7 @@ def _create_batch_scripts_initial(self):
669
669
rem ******************
670
670
rem handle Pyzo configuration part
671
671
rem ******************
672
- mkdir %HOME%\.pyzo
672
+ if not exist "%HOME%\.pyzo" mkdir %HOME%\.pyzo
673
673
if exist "%HOME%\.pyzo\config.ssdf" goto after_pyzo_conf
674
674
set tmp_pyz="%HOME%\.pyzo\config.ssdf"
675
675
echo shellConfigs2 = list:>>%tmp_pyz%
@@ -1188,10 +1188,14 @@ def _create_batch_scripts(self):
1188
1188
) else (
1189
1189
cd/D "%WINPYDIR%\Lib\site-packages\PyQt5"
1190
1190
"%WINPYDIR%\Lib\site-packages\PyQt5\linguist.exe" %*
1191
- ) else (
1191
+ )
1192
+ ) else if exist "%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" (
1192
1193
cd/D "%WINPYDIR%\Lib\site-packages\PyQt4"
1193
1194
"%WINPYDIR%\Lib\site-packages\PyQt4\linguist.exe" %*
1195
+ ) else (
1196
+ "%WINPYDIR%\Lib\site-packages\PySide2\linguist.exe" %*
1194
1197
)
1198
+
1195
1199
""" )
1196
1200
1197
1201
self .create_python_batch ('register_python.bat' , 'register_python' ,
0 commit comments