5 Commits

Author SHA1 Message Date
005a495e96 Move config migration from post-install to src 2025-04-25 22:22:44 +03:00
bf97686dfc Allow read-only installation
Fix #3453.

Thanks to #3499, #3500 and #3521, most of the obstacles to read-only installation have been resolved. This PR addresses the final piece, ensuring that SillyTavern no longer changes directories to `serverDirectory` and outputs files there. Instead, it outputs or copies necessary files to the directory where it is being run. Now, `serverDirectory` is read-only for SillyTavern (i.e., SillyTavern will not attempt to modify `serverDirectory`). Additionally, this PR sets the permissions for copied `default-user` files to be writable, so even if SillyTavern is installed as read-only, the copied `default-user` folder can still be modified.
2025-04-16 09:52:08 +08:00
3f03936125 Add config value type converters for numbers and booleans 2025-02-20 21:53:48 +02:00
4d18ddba6d config.yaml: Group extension settings into one section 2025-01-17 20:18:27 +02:00
a32dd436d7 Node: Replace global with globalThis 2024-10-18 09:13:25 +00:00