Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
fix: preserve display title on Linux
artrixdotdevf9c135caec21
diff --git a/bin/helpers/merge.ts b/bin/helpers/merge.tsindex f6a18b9b..91520c88 100644--- a/bin/helpers/merge.ts+++ b/bin/helpers/merge.ts@@ -446,6 +446,9 @@ export async function mergeConfig(const platform = asSupportedPlatform(process.platform);const tauriConfWindowOptions = buildWindowConfigOverrides(options, platform);+ if (!tauriConfWindowOptions.title && options.displayName) {+ tauriConfWindowOptions.title = options.displayName;+ }Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });tauriConf.productName = name;diff --git a/dist/cli.js b/dist/cli.jsindex eaa61d20..fefcc8cc 100644--- a/dist/cli.js+++ b/dist/cli.js@@ -707,6 +707,9 @@ async function mergeConfig(url, options, tauriConf) {const { appVersion, userAgent, showSystemTray, useLocalFile, identifier, name = 'pake-app', installerLanguage, wasm, camera, microphone, } = options;const platform = asSupportedPlatform(process.platform);const tauriConfWindowOptions = buildWindowConfigOverrides(options, platform);+ if (!tauriConfWindowOptions.title && options.displayName) {+ tauriConfWindowOptions.title = options.displayName;+ }Object.assign(tauriConf.pake.windows[0], { url, ...tauriConfWindowOptions });tauriConf.productName = name;tauriConf.identifier = identifier;