mirror of
https://github.com/zadam/trilium.git
synced 2026-06-26 13:41:19 +02:00
feat(desktop/setup): add background effects
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user