mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
custom widget launchers should not be initialized in safe mode
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
extraHoistedNoteId: '<%= extraHoistedNoteId %>',
|
||||
isProtectedSessionAvailable: <%= isProtectedSessionAvailable %>,
|
||||
triliumVersion: "<%= triliumVersion %>",
|
||||
assetPath: "<%= assetPath %>"
|
||||
assetPath: "<%= assetPath %>",
|
||||
TRILIUM_SAFE_MODE: <%= !!process.env.TRILIUM_SAFE_MODE %>
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
@@ -117,7 +117,8 @@
|
||||
appCssNoteIds: <%- JSON.stringify(appCssNoteIds) %>,
|
||||
isProtectedSessionAvailable: <%= isProtectedSessionAvailable %>,
|
||||
assetPath: "<%= assetPath %>",
|
||||
isMainWindow: true
|
||||
isMainWindow: true,
|
||||
TRILIUM_SAFE_MODE: <%= !!process.env.TRILIUM_SAFE_MODE %>
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user