allow hide cm for self-host pro
This commit is contained in:
		
							parent
							
								
									75f5212661
								
							
						
					
					
						commit
						e2ccaf2c91
					
				| @ -2415,7 +2415,6 @@ async fn start_ipc( | |||||||
|         #[allow(unused_mut)] |         #[allow(unused_mut)] | ||||||
|         #[allow(unused_assignments)] |         #[allow(unused_assignments)] | ||||||
|         let mut args = vec!["--cm"]; |         let mut args = vec!["--cm"]; | ||||||
|         #[cfg(not(windows))] |  | ||||||
|         if crate::hbbs_http::sync::is_pro() && password::hide_cm() { |         if crate::hbbs_http::sync::is_pro() && password::hide_cm() { | ||||||
|             args.push("--hide"); |             args.push("--hide"); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user