Skip to content

Commit

Permalink
Fix non-Windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamVenner committed May 3, 2021
1 parent 335b5fa commit 6b87655
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ git = "https://github.com/WilliamVenner/steamworks-rs"
branch = "master"

[dependencies]
tauri-winit = "0.24.1"
wry = "0.9.0"
tauri-utils = "1.0.0-beta-rc.1"
turbonone = "0.2.1"
serde_json = "1.0.64"
Expand Down
4 changes: 2 additions & 2 deletions src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ fn main() {
args.with_title(format!("gmpublisher v{}", env!("CARGO_PKG_VERSION")))
.with_maximized(!cfg!(debug_assertions) && settings.window_maximized)
.with_resizable(true)
.with_inner_size(winit::dpi::PhysicalSize { width: settings.window_size.0, height: settings.window_size.1 })
.with_min_inner_size(winit::dpi::PhysicalSize { width: 800., height: 600. }),
.with_inner_size(wry::application::dpi::LogicalSize { width: settings.window_size.0, height: settings.window_size.1 })
.with_min_inner_size(wry::application::dpi::LogicalSize { width: 800., height: 600. }),

attrs
)
Expand Down

0 comments on commit 6b87655

Please sign in to comment.