FEATURE REQUEST: Config file writing.

Here you can post threads on the development of the current beta releases of the core (099)

Moderator: POL Developer

Post Reply
DevGIB
Grandmaster Poster
Posts: 164
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

Who is online

Users browsing this forum: No registered users and 1 guest