Commit Graph

13 Commits

Author SHA1 Message Date
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
0f46128980 Set lib.js output path to data 2025-02-18 20:24:07 +02:00
441e5c6f7e Move webpack cache to data root 2025-02-17 23:41:59 +02:00
afccb8517a Ditch webpack-dev-middleware 2024-11-29 00:13:43 +02:00
b5c2ecdfcc Webpack: cache lib.js to disk to prevent occasional OOM 2024-11-28 22:47:27 +02:00
afb4acc19b Revert "Webpack: cache lib.js to disk to prevent occasional OOM"
This reverts commit f630c8892a.
2024-11-28 22:45:45 +02:00
f630c8892a Webpack: cache lib.js to disk to prevent occasional OOM 2024-11-28 22:39:20 +02:00
2620522333 Revert epubjs vendoring 2024-10-17 20:59:42 +03:00
1838bf481c webpack: Cache bundles to filesystem 2024-10-17 01:16:56 +03:00
f7796274ff webpack: Remove source-map generation, customize logging 2024-10-17 00:52:49 +03:00
e4959c6ccb webpack: Reduce logging 2024-10-17 00:49:06 +03:00
3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
4725b869eb Add webpack for external frontend libraries. 2024-10-16 22:00:14 +03:00