Useful to ship winestart.cmd and more (e.g. Hangover)
Signed-off-by: André Hentschel nerv@dawncrow.de --- dlls/wineandroid.drv/WineActivity.java | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/wineandroid.drv/WineActivity.java b/dlls/wineandroid.drv/WineActivity.java index 3345e18..992dd9b 100644 --- a/dlls/wineandroid.drv/WineActivity.java +++ b/dlls/wineandroid.drv/WineActivity.java @@ -165,6 +165,7 @@ private void createProgressDialog( final int max, final String message ) private final boolean isFileWanted( String name ) { if (name.equals( "files.sum" )) return true; + if (name.startsWith( "prefix/" )) return true; if (name.startsWith( "share/" )) return true; if (name.startsWith( Build.CPU_ABI + "/system/" )) return false; if (name.startsWith( Build.CPU_ABI + "/" )) return true;
André Hentschel nerv@dawncrow.de writes:
@@ -165,6 +165,7 @@ private void createProgressDialog( final int max, final String message ) private final boolean isFileWanted( String name ) { if (name.equals( "files.sum" )) return true;
if (name.startsWith( "prefix/" )) return true; if (name.startsWith( "share/" )) return true; if (name.startsWith( Build.CPU_ABI + "/system/" )) return false; if (name.startsWith( Build.CPU_ABI + "/" )) return true;
I'm not sure it's a good idea to overwrite the prefix files. How are you planning to use this?
Am 20.04.2018 um 18:15 schrieb Alexandre Julliard:
André Hentschel nerv@dawncrow.de writes:
@@ -165,6 +165,7 @@ private void createProgressDialog( final int max, final String message ) private final boolean isFileWanted( String name ) { if (name.equals( "files.sum" )) return true;
if (name.startsWith( "prefix/" )) return true; if (name.startsWith( "share/" )) return true; if (name.startsWith( Build.CPU_ABI + "/system/" )) return false; if (name.startsWith( Build.CPU_ABI + "/" )) return true;
I'm not sure it's a good idea to overwrite the prefix files. How are you planning to use this?
a simple usecase is to not provide all of a prefix, but place those files there: prefix/drive_c/winestart.cmd prefix/drive_c/x86/<HANGOVERFILES>
the generated prefix then nows what to start and can easily access the <HANGOVERFILES> within the c: drive