mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	make the popout window always on top
This commit is contained in:
		
							parent
							
								
									a1349a1da3
								
							
						
					
					
						commit
						2f93146a15
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -101,7 +101,12 @@ async function doAfterDefiningTheWindow(): Promise<void> { | ||||||
|             url === "https://canary.discord.com/popout" || |             url === "https://canary.discord.com/popout" || | ||||||
|             url === "https://ptb.discord.com/popout" |             url === "https://ptb.discord.com/popout" | ||||||
|         ) |         ) | ||||||
|             return {action: "allow"}; |             return { | ||||||
|  |                 action: "allow", | ||||||
|  |                 overrideBrowserWindowOptions: { | ||||||
|  |                     alwaysOnTop: true | ||||||
|  |                 } | ||||||
|  |             }; | ||||||
|         if (url.startsWith("https:") || url.startsWith("http:") || url.startsWith("mailto:")) { |         if (url.startsWith("https:") || url.startsWith("http:") || url.startsWith("mailto:")) { | ||||||
|             shell.openExternal(url); |             shell.openExternal(url); | ||||||
|         } else if (ignoreProtocolWarning) { |         } else if (ignoreProtocolWarning) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue