feat: add linux desktop support

This commit is contained in:
lucaronin
2026-04-24 16:25:36 +02:00
parent 622977aeb8
commit 38acebba7c
23 changed files with 922 additions and 17 deletions

View File

@@ -1,4 +1,5 @@
import { isTauri } from '../mock-tauri'
import { shouldUseLinuxWindowChrome } from './platform'
export function buildNoteWindowUrl(notePath: string, vaultPath: string, noteTitle: string): string {
const params = new URLSearchParams({
@@ -29,5 +30,6 @@ export async function openNoteInNewWindow(notePath: string, vaultPath: string, n
resizable: true,
titleBarStyle: 'overlay',
hiddenTitle: true,
decorations: !shouldUseLinuxWindowChrome(),
})
}