[PATCH] wineandroid: Allow an initial prefix to be shipped

André Hentschel nerv at dawncrow.de
Fri Apr 20 11:18:01 CDT 2018


Am 20.04.2018 um 18:15 schrieb Alexandre Julliard:
> André Hentschel <nerv at 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



More information about the wine-devel mailing list