[vlc-devel] [PATCH] gui/macosx: create a preferences file when first run.

Dilaroga Dev dilaroga at gmail.com
Thu Jun 17 00:52:39 CEST 2010


On Jun 16, 2010, at 6:41 PM, Jean-Baptiste Kempf wrote:

> On Wed, Jun 16, 2010 at 01:19:12PM +0200, Dilaroga dev wrote :
>> In attachment a patch that creates a preferences file at launch time when
>> the vlcrc file doesn't exist yet.
>> This patch closes #3684.
> 
> Is this really the right place to do it?

gui/qt4 does it in FirstRun::save(). gui/macosx hasn't firstrun detection implemented that's why i check if the config file exists.

> Souldn't this be fixed in the core?

I don't know if all interfaces need to create a default configuration file at the first launch if the file doesn't yet exist.

> What happens if you start vlc with -Irc the first time?

The config file is not created.


--
Sebastien Zwickert


More information about the vlc-devel mailing list