Closed sandbankdisperser closed 10 months ago
Should be ready for merge now
I've rebased the PR over the current master, to avoid warnings and notices, and then used os.config_dir()
to simplify the code a bit (it already does support the different platform specific folder locations, except for android ... it should have to be added too, in another PR to the main V repo, since code in os
is critical for bootstrapping V).
This fixes the configuration paths for the different platforms:
This fixes the crash on android with the read-only filesystem error.
This PR will not work till the duplicate const issue from https://github.com/vlang/v/issues/19031 is fixed, so please keep it open till then.