parent
c7511bbbe6
commit
e25cd37f2d
7 changed files with 414 additions and 410 deletions
|
|
@ -82,6 +82,7 @@ pub fn desktop() -> Result<(), Box<dyn std::error::Error>> {
|
|||
/// Runs application with these settings
|
||||
#[rustfmt::skip]
|
||||
pub fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
/*
|
||||
#[cfg(all(unix, not(target_os = "redox")))]
|
||||
match fork::daemon(true, true) {
|
||||
Ok(fork::Fork::Child) => (),
|
||||
|
|
@ -91,6 +92,7 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
process::exit(1);
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue