FEATURE REQUEST: Config file writing.

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

Moderator: POL Developer

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

FEATURE REQUEST: Config file writing.

Post by DevGIB »

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