170 if isGuiScript: |
170 if isGuiScript: |
171 wrapper = \ |
171 wrapper = \ |
172 '''@echo off\r\n''' \ |
172 '''@echo off\r\n''' \ |
173 '''set PYDIR=%~dp0\r\n''' \ |
173 '''set PYDIR=%~dp0\r\n''' \ |
174 '''start "" "%PYDIR%\\pythonw.exe"''' \ |
174 '''start "" "%PYDIR%\\pythonw.exe"''' \ |
175 ''' "%PYDIR%\\Lib\\site-packages\\eric5\\{0}.pyw"''' \ |
175 ''' "{0}\\{1}.pyw"''' \ |
176 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(wfile) |
176 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format(pydir, wfile) |
177 else: |
177 else: |
178 wrapper = \ |
178 wrapper = \ |
179 '''@"{0}\\python" "{1}\\{2}.py"''' \ |
179 '''@"{0}\\python" "{1}\\{2}.py"''' \ |
180 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format( |
180 ''' %1 %2 %3 %4 %5 %6 %7 %8 %9\r\n'''.format( |
181 platBinDir, pydir, wfile) |
181 platBinDir, pydir, wfile) |