Skip to content

Commit

Permalink
fix: #763 add title for linux/windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jeasonnow committed Aug 5, 2024
1 parent 1d0628e commit 8297b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/app/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn get_window(app: &mut App, config: PakeConfig, _data_dir: PathBuf) -> Wind

Check warning on line 52 in src-tauri/src/app/window.rs

View workflow job for this annotation

GitHub Actions / Enforce codebase style (cargo fmt)

Diff in /home/runner/work/Pake/Pake/src-tauri/src/app/window.rs
#[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")
Expand Down

0 comments on commit 8297b40

Please sign in to comment.