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