wineandroid: Use full pathnames to invoke builtin apps.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
456e76185d
commit
7b00a50943
|
@ -131,7 +131,7 @@ private void loadWine( String cmdline )
|
||||||
if (cmdline == null)
|
if (cmdline == null)
|
||||||
{
|
{
|
||||||
if (new File( prefix, "drive_c/winestart.cmd" ).exists()) cmdline = "c:\\winestart.cmd";
|
if (new File( prefix, "drive_c/winestart.cmd" ).exists()) cmdline = "c:\\winestart.cmd";
|
||||||
else cmdline = "wineconsole.exe";
|
else cmdline = "c:\\windows\\system32\\wineconsole.exe";
|
||||||
}
|
}
|
||||||
|
|
||||||
String winedebug = readFileString( new File( prefix, "winedebug" ));
|
String winedebug = readFileString( new File( prefix, "winedebug" ));
|
||||||
|
@ -164,7 +164,7 @@ private final void runWine( String cmdline, HashMap<String,String> environ )
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] cmd = { environ.get( "WINELOADER" ),
|
String[] cmd = { environ.get( "WINELOADER" ),
|
||||||
"explorer.exe",
|
"c:\\windows\\system32\\explorer.exe",
|
||||||
"/desktop=shell,,android",
|
"/desktop=shell,,android",
|
||||||
cmdline };
|
cmdline };
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue