FEATURE REQUEST: Config file writing.

Here you can post threads specific to the current release of the core (099)

Moderator: POL Developer

Post Reply
Grandmaster Poster
Posts: 247
Joined: Mon Feb 06, 2006 6:12 am

FEATURE REQUEST: Config file writing.

Post by DevGIB » Sun Nov 26, 2017 8:48 pm

I brought it up on discord but i figured i'd post here too.
It would be good to be able to enable or disable a package from within escript/pol itself.
Turley suggested that we write to the pkg.cfg file, however there is only the option to append to a config file, not update or write new values.
I assume potentially we could use ReadFile() and WriteFile() but i'm wondering if there could be an easier way from within the CfgFile.em given that it has the facility to read files as elements.

Post Reply