mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Add missing BrowserWindow import; bump deps (#258)
This commit is contained in:
		
							parent
							
								
									17c05fedd3
								
							
						
					
					
						commit
						fbeffdb166
					
				
					 3 changed files with 33 additions and 33 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| import {Menu, app, clipboard, globalShortcut} from "electron"; | ||||
| import {BrowserWindow, Menu, app, clipboard, globalShortcut} from "electron"; | ||||
| import {mainWindow} from "./window"; | ||||
| import {getConfig} from "./utils"; | ||||
| import {createSettingsWindow} from "./settings/main"; | ||||
|  | @ -49,7 +49,7 @@ export async function setMenu() { | |||
|                     label: "Developer tools", | ||||
|                     accelerator: "CmdOrCtrl+Shift+I", | ||||
|                     click: function () { | ||||
|                         BrowserWindow.getFocusedWindow().toggleDevTools() | ||||
|                         BrowserWindow.getFocusedWindow()!.webContents.toggleDevTools(); | ||||
|                     } | ||||
|                 }, | ||||
|                 { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue