mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 03:32:30 +08:00
557 B
557 B
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 inapp/widgets/containers/launcher.js
. - Disables the running of
mobileStartup
orfrontendStartup
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.