Add alwaysOnTop feature

This commit is contained in:
Tw93
2024-05-08 17:59:38 +08:00
parent f5319394f5
commit a1e34a00e6
8 changed files with 27 additions and 1 deletions

View File

@@ -13,6 +13,7 @@ export async function mergeConfig(url: string, options: PakeAppOptions, tauriCon
height,
fullscreen,
transparent,
alwaysOnTop,
userAgent,
showSystemTray,
systemTrayIcon,
@@ -32,6 +33,7 @@ export async function mergeConfig(url: string, options: PakeAppOptions, tauriCon
height,
fullscreen,
transparent,
alwaysOnTop,
resizable,
};
Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });