feat(desktop/setup): add background effects

This commit is contained in:
Elian Doran
2026-03-26 00:13:03 +02:00
parent db6f034cb5
commit cd97e2c861
3 changed files with 23 additions and 15 deletions

View File

@@ -395,6 +395,9 @@ async function createSetupWindow() {
autoHideMenuBar: true,
title: "Trilium Notes Setup",
icon: getIcon(),
// Background effects (Mica on Windows, vibrancy on macOS)
...(isWindows && { backgroundMaterial: "mica" as const }),
...(isMac && { transparent: true, visualEffectState: "active" as const, vibrancy: "under-window" as const }),
webPreferences: {
// necessary for e.g. utils.isElectron()
nodeIntegration: true,