DjLeChuck / recalbox-manager

A web interface to manage recalbox configuration
25 stars 10 forks source link

Update recalbox.conf parameters #67

Closed paradadf closed 6 years ago

paradadf commented 6 years ago

Update recalbox.conf existing parameters instead of escaping them (the old ones) and adding the new to the bottom.

DjLeChuck commented 6 years ago

I'm using a recalbox script to update the configuration file, so I can't do anything: https://github.com/DjLeChuck/recalbox-manager/blob/master/src/routes/save.js#L26

@substring maybe an idea?

substring commented 6 years ago

This python script doesn't comment, but uses sed : https://gitlab.com/recalbox/recalbox-configgen/blob/master/configgen/settings/recalboxSettings.py#L24

@paradadf was that error happening when you were trying to change your timezone ?

paradadf commented 6 years ago

Yes! It should just repöace the timezone instead of writting stuff on the bottom.