commit
c057b031d6
@ -227,6 +227,13 @@ pub fn core_main() -> Option<Vec<String>> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
return None;
|
return None;
|
||||||
|
} else if args[0] == "--get-id" {
|
||||||
|
if crate::platform::is_root() {
|
||||||
|
println!("{}", crate::ipc::get_id());
|
||||||
|
} else {
|
||||||
|
println!("Permission denied!");
|
||||||
|
}
|
||||||
|
return None;
|
||||||
} else if args[0] == "--check-hwcodec-config" {
|
} else if args[0] == "--check-hwcodec-config" {
|
||||||
#[cfg(feature = "hwcodec")]
|
#[cfg(feature = "hwcodec")]
|
||||||
scrap::hwcodec::check_config();
|
scrap::hwcodec::check_config();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user