wineandroid: Use full pathnames to invoke builtin apps.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-12-07 12:25:20 +01:00
parent 456e76185d
commit 7b00a50943
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ private void loadWine( String cmdline )
if (cmdline == null)
{
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" ));
@ -164,7 +164,7 @@ private final void runWine( String cmdline, HashMap<String,String> environ )
}
String[] cmd = { environ.get( "WINELOADER" ),
"explorer.exe",
"c:\\windows\\system32\\explorer.exe",
"/desktop=shell,,android",
cmdline };