mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Add F12 for openDevTools
This commit is contained in:
		
							parent
							
								
									3a77b0067b
								
							
						
					
					
						commit
						0dd0ce83ed
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -5,8 +5,6 @@ const { remote } = require("electron"); | |||
| window.addEventListener('DOMContentLoaded', () => { | ||||
|   new customTitlebar.Titlebar({ | ||||
|     backgroundColor: customTitlebar.Color.fromHex("#2C2F33"), | ||||
|     unfocusEffect: true, | ||||
|     menu: true, | ||||
|   }); | ||||
| 
 | ||||
| 
 | ||||
|  | @ -15,4 +13,7 @@ const currentWindow = remote.getCurrentWindow(); | |||
| electronLocalshortcut.register(currentWindow, "F5", () => { | ||||
|   location.reload(); | ||||
| }); | ||||
| electronLocalshortcut.register(currentWindow, "F12", () => { | ||||
|   currentWindow.webContents.openDevTools(); | ||||
| }); | ||||
| require("./utils/capturer.js") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue