From 8297b402488870dd8159c60c620992ed98d13c6a Mon Sep 17 00:00:00 2001 From: jeasonnow Date: Mon, 5 Aug 2024 11:14:10 +0800 Subject: [PATCH] fix: #763 add title for linux/windows --- src-tauri/src/app/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/app/window.rs b/src-tauri/src/app/window.rs index 44cdf849c..6681fb23e 100644 --- a/src-tauri/src/app/window.rs +++ b/src-tauri/src/app/window.rs @@ -52,7 +52,7 @@ pub fn get_window(app: &mut App, config: PakeConfig, _data_dir: PathBuf) -> Wind #[cfg(not(target_os = "macos"))] { - window_builder = window_builder.data_directory(_data_dir); + window_builder = window_builder.data_directory(_data_dir).set_title(app.package_info().name); } window_builder.build().expect("Failed to build window")