Skip to content

Commit

Permalink
Merge pull request #770 from jeasonnow/fix/763
Browse files Browse the repository at this point in the history
fix: #763 add title for linux/windows
  • Loading branch information
jeasonnow committed Aug 5, 2024
2 parents 1d0628e + 8297b40 commit 0b3e6b9
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 0b3e6b9

Please sign in to comment.