mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Portable mode: a portable.txt beside the executable keeps the settings in VectorCraftData (#1366)
This commit is contained in:
committed by
bflatastic
parent
6fc79c33b7
commit
314bfe802f
@@ -11,6 +11,8 @@ Set `VECTORCRAFT_CONFIG_DIR` to a dedicated directory for an isolated native tes
|
||||
logs, recovery and user libraries then use that root, without importing the legacy DrawCraft profile.
|
||||
An unset override preserves the usual platform paths and legacy migration; an explicitly empty override
|
||||
disables those paths. `VECTORCRAFT_NO_PREFS` continues to disable preference reads and writes.
|
||||
Without the override, a `portable.txt` or `VectorCraft.portable` file beside the executable (as in the
|
||||
Windows portable zip) puts that root in `VectorCraftData` next to the executable.
|
||||
|
||||
**Only requests are read.** Every line must be a JSON object with a string `method` (`id` and `params`
|
||||
are optional; blank lines are skipped). Anything else gets one error reply
|
||||
|
||||
Reference in New Issue
Block a user