parent
							
								
									877b3e2ce5
								
							
						
					
					
						commit
						5a2121501d
					
				@ -269,7 +269,11 @@ pub fn core_main() -> Option<Vec<String>> {
 | 
			
		||||
                    .arg(&format!("{} --tray", crate::get_app_name().to_lowercase()))
 | 
			
		||||
                    .status()
 | 
			
		||||
                    .ok();
 | 
			
		||||
                hbb_common::allow_err!(crate::crate::platform::run_as_user(vec!["--tray"]));
 | 
			
		||||
                hbb_common::allow_err!(crate::platform::run_as_user(
 | 
			
		||||
                    vec!["--tray"],
 | 
			
		||||
                    None,
 | 
			
		||||
                    None::<(&str, &str)>,
 | 
			
		||||
                ));
 | 
			
		||||
            }
 | 
			
		||||
            #[cfg(windows)]
 | 
			
		||||
            crate::privacy_mode::restore_reg_connectivity(true);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user