mainly for mac, if somehow --server not killed
This commit is contained in:
		
							parent
							
								
									0e6d368970
								
							
						
					
					
						commit
						85c149d8e4
					
				| @ -107,7 +107,9 @@ pub fn make_tray() -> hbb_common::ResultType<()> { | ||||
|                     return; | ||||
|                 } | ||||
|                 */ | ||||
|                 crate::platform::uninstall_service(false); | ||||
|                 if !crate::platform::uninstall_service(false) { | ||||
|                     *control_flow = ControlFlow::Exit; | ||||
|                 } | ||||
|             } else if event.id == open_i.id() { | ||||
|                 open_func(); | ||||
|             } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user