| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -71,6 +71,7 @@ export function initIpcMain(win, store) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (options.enableGlobalShortcut) {
 | 
					 | 
					 | 
					 | 
					    if (options.enableGlobalShortcut) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      registerGlobalShortcut(win, store);
 | 
					 | 
					 | 
					 | 
					      registerGlobalShortcut(win, store);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } else {
 | 
					 | 
					 | 
					 | 
					    } else {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      log('unregister global shortcut');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      globalShortcut.unregisterAll();
 | 
					 | 
					 | 
					 | 
					      globalShortcut.unregisterAll();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  });
 | 
					 | 
					 | 
					 | 
					  });
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -120,6 +121,7 @@ export function initIpcMain(win, store) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  });
 | 
					 | 
					 | 
					 | 
					  });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ipcMain.on('switchGlobalShortcutStatusTemporary', (e, status) => {
 | 
					 | 
					 | 
					 | 
					  ipcMain.on('switchGlobalShortcutStatusTemporary', (e, status) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    log('switchGlobalShortcutStatusTemporary');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (status === 'disable') {
 | 
					 | 
					 | 
					 | 
					    if (status === 'disable') {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      globalShortcut.unregisterAll();
 | 
					 | 
					 | 
					 | 
					      globalShortcut.unregisterAll();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } else {
 | 
					 | 
					 | 
					 | 
					    } else {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |