mirror of
https://github.com/rustdesk/rustdesk
synced 2026-05-23 08:58:52 +00:00
fix: invert inline
This commit is contained in:
parent
52fd312ff3
commit
8a6c3fe70a
1 changed files with 2 additions and 3 deletions
|
|
@ -39,13 +39,12 @@ fn main() {
|
|||
println!("{}", crate::VERSION);
|
||||
return;
|
||||
}
|
||||
// TODO: 提交去除inline
|
||||
#[cfg(feature = "inline")]
|
||||
#[cfg(not(feature = "inline"))]
|
||||
{
|
||||
use hbb_common::env_logger::*;
|
||||
init_from_env(Env::default().filter_or(DEFAULT_FILTER_ENV, "info"));
|
||||
}
|
||||
#[cfg(not(feature = "inline"))]
|
||||
#[cfg(feature = "inline")]
|
||||
{
|
||||
let mut path = hbb_common::config::Config::log_path();
|
||||
if args.len() > 0 && args[0].starts_with("--") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue