maint hwcodec config file directly

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2022-07-06 10:19:13 +08:00
1 parent c4b4ef9576
commit ba034a56af
5 files changed
+33 -78

No files matched your search

+9
View File
@@ -320,6 +320,15 @@ pub async fn start_server(is_server: bool) {
std::process::exit(-1);
}
});
#[cfg(feature = "hwcodec")]
if let Ok(exe) = std::env::current_exe() {
std::thread::spawn(move || {
std::process::Command::new(exe)
.arg("--check-hwcodec-config")
.status()
.ok()
});
}
#[cfg(windows)]
crate::platform::windows::bootstrap();
input_service::fix_key_down_timeout_loop();