🔧 Package management optimization

This commit is contained in:
Tw93
2025-08-14 10:01:35 +08:00
parent eefc02bd10
commit dd3e00fad5
6 changed files with 73 additions and 10 deletions

View File

@@ -74,7 +74,7 @@ pub fn set_window(app: &mut App, config: &PakeConfig, tauri_config: &Config) ->
window_builder = window_builder
.data_directory(_data_dir)
.title(app.package_info().name.clone());
// Set theme to None for automatic system theme detection on Windows
// This allows the window to respond to system theme changes automatically
window_builder = window_builder.theme(None);
@@ -85,8 +85,8 @@ pub fn set_window(app: &mut App, config: &PakeConfig, tauri_config: &Config) ->
window_builder = window_builder
.data_directory(_data_dir)
.title(app.package_info().name.clone());
// Set theme to None for automatic system theme detection on Linux
// Set theme to None for automatic system theme detection on Linux
// This allows the window to respond to system theme changes automatically
window_builder = window_builder.theme(None);
}