Skip to content

Commit

Permalink
fix: set minimum version for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
decipher3114 committed Sep 12, 2024
1 parent 0b25ca6 commit 38b9c40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ certificate-thumbprint = "07a9c417660868a4420fe9e2f8b6ac2e1a33228a"
tsp = true
timestamp-url = "http://timestamp.digicert.com"

[package.metadata.packager.macos]
minimum-system-version = "10.13"

[package.metadata.packager.deb]
depends = ["libgtk-3-dev", "libxdo-dev", "libayatana-appindicator3-dev", "libxcb1", "libxrandr2", "libdbus-1-3"]

Expand Down
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
fn main() {
#[cfg(target_os = "macos")]
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.13");
#[cfg(target_os = "windows")]
{
let mut res = winresource::WindowsResource::new();
Expand Down

0 comments on commit 38b9c40

Please sign in to comment.