fix windows dependency (#1380)

This commit is contained in:
Jason Dove
2023-08-14 19:44:18 -05:00
committed by GitHub
parent 4b08ed5381
commit 641b8bcd10
3 changed files with 9 additions and 0 deletions
+7
View File
@@ -173,6 +173,7 @@ version = "0.1.0"
dependencies = [
"process_path",
"special-folder",
"static_vcruntime",
"tray-item",
"windows",
"windres",
@@ -769,6 +770,12 @@ dependencies = [
"windows-sys",
]
[[package]]
name = "static_vcruntime"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "954e3e877803def9dc46075bf4060147c55cd70db97873077232eae0269dc89b"
[[package]]
name = "strum"
version = "0.24.1"
+1
View File
@@ -17,3 +17,4 @@ features = [
[build-dependencies]
windres = "*"
static_vcruntime = "2.0"
+1
View File
@@ -1,5 +1,6 @@
use windres::Build;
fn main() {
static_vcruntime::metabuild();
Build::new().compile("ersatztv_windows.rc").unwrap();
}