[vlc-devel] [PATCH] portable windows build

Edward Wang edward.c.wang at compdigitec.com
Sun Mar 8 09:06:32 CET 2015


On 2015-03-08 07:47, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 08 Mar, Hannes Domani wrote :
>> >Jean-Baptiste Kempf<jb at videolan.org>  schrieb am 15:39 Sonntag, 8.März 2015:
>>> > >On 08 Mar, Hannes Domani wrote :
>>>> > > >Jean-Baptiste Kempf<jb at videolan.org>  schrieb am 15:15 Sonntag, 8.März 2015:
>>>>> > > > >On 08 Mar, Hannes Domani wrote :
>>>>>> > > > > >This simply checks if there is a "portable" folder where vlc.exe is, and uses it instead of the user AppData directory.
>>>>> > > > >
>>>>> > > > >Is this detection method the best idea?
>>>> > > >
>>>> > > >The other methods I can think of are an environment variable, or a command line parameter.
>>> > >
>>> > >vlc-portable.exe ?
>>> > >
>>> > >Or a .portable.txt file?
>> >
>> >So the detection method should then take care of creating the folder if it doesn't exist yet?
> That's an idea.
>
> I'm just asking, though, since there is no standard or consensus

Can we not have a command-line parameter, along the lines of "vlc 
--app-dir=vlc/", rather than hardcoding magic strings for a portable VLC?

Regards,
     Edward Wang




More information about the vlc-devel mailing list