tauri-app: bundle dummy obs.dll
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m8s
All checks were successful
record-daemon / Build, check and test (push) Successful in 2m8s
This commit is contained in:
@@ -91,6 +91,11 @@ fn build_record_daemon() {
|
||||
let dst_binary = binaries_dir.join(&dst_name);
|
||||
|
||||
fs::copy(&src_binary, &dst_binary).expect("Failed to copy record-daemon binary");
|
||||
fs::copy(daemon_dir
|
||||
.join("target")
|
||||
.join(&target)
|
||||
.join("release")
|
||||
.join("obs.dll"), binaries_dir.join("obs.dll")).expect("Failed to copy record-daemon dummy obs.dll");
|
||||
println!(
|
||||
"cargo:warning=Bundled record-daemon → {}",
|
||||
dst_binary.display()
|
||||
|
||||
@@ -41,6 +41,9 @@
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
],
|
||||
"resources": {
|
||||
"binaries/obs.dll": "obs.dll"
|
||||
},
|
||||
"externalBin": ["binaries/record-daemon"]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user