Only daemonize on cfg(unix) platforms

This commit is contained in:
Jeremy Soller 2023-11-28 12:03:30 -07:00
parent 0e8fd4eb8c
commit 7b76437224
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 4 additions and 1 deletions

View file

@ -7,7 +7,6 @@ license = "GPL-3.0-only"
[dependencies]
env_logger = "0.10.0"
fork = "0.1"
lazy_static = "1.4.0"
log = "0.4.20"
notify = "6.1.1"
@ -38,6 +37,9 @@ features = ["tokio", "winit", "wgpu"]
[dependencies.systemicons]
git = "https://github.com/jackpot51/systemicons"
[target.'cfg(unix)'.dependencies]
fork = "0.1"
[features]
default = ["rfd"]