docs(dev): update recent technical documentation

This commit is contained in:
Elian Doran
2025-11-03 22:16:15 +02:00
parent 4a47ff2ea0
commit d9071f2d8e
85 changed files with 1449 additions and 1790 deletions

View File

@@ -0,0 +1,11 @@
# Safe mode
Safe mode is triggered by setting the `TRILIUM_SAFE_MODE` environment variable to a truthy value, usually `1`.
In each artifact there is a `trilium-safe-mode.sh` (or `.bat`) script to enable it.
What it does:
* Disables `customWidget` launcher types in `app/widgets/containers/launcher.js`.
* Disables the running of `mobileStartup` or `frontendStartup` scripts.
* Displays the root note instead of the previously saved session.
* Disables the running of `backendStartup`, `hourly`, `daily` scripts and checks for the hidden subtree.