mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	fix config check
This commit is contained in:
		
							parent
							
								
									83719af693
								
							
						
					
					
						commit
						037a26ef34
					
				
					 3 changed files with 61 additions and 43 deletions
				
			
		|  | @ -28,6 +28,7 @@ import {createKeybindWindow} from "./keybindMaker/main"; | |||
| export let iconPath: string; | ||||
| export let settings: any; | ||||
| export let customTitlebar: boolean; | ||||
| checkIfConfigIsBroken(); | ||||
| app.on("render-process-gone", (event, webContents, details) => { | ||||
|     if (details.reason == "crashed") { | ||||
|         app.relaunch(); | ||||
|  | @ -71,7 +72,6 @@ if (!app.requestSingleInstanceLock() && getConfigSync("multiInstance") == (false | |||
|     } | ||||
|     // work around chrome 66 disabling autoplay by default
 | ||||
|     app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required"); | ||||
|     checkIfConfigIsBroken(); | ||||
|     // WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
 | ||||
|     // HardwareMediaKeyHandling,MediaSessionService: Prevent Discord from registering as a media service.
 | ||||
|     app.commandLine.appendSwitch( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue