mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	feat(electron): constrain setup window size
This commit is contained in:
		
							parent
							
								
									3e5bd01fc1
								
							
						
					
					
						commit
						f420b5cbd4
					
				| @ -257,9 +257,12 @@ function getIcon() { | ||||
| 
 | ||||
| async function createSetupWindow() { | ||||
|     const { BrowserWindow } = await import("electron"); // should not be statically imported
 | ||||
|     const width = 750; | ||||
|     const height = 650; | ||||
|     setupWindow = new BrowserWindow({ | ||||
|         width: 800, | ||||
|         height: 800, | ||||
|         width, | ||||
|         height, | ||||
|         resizable: false, | ||||
|         title: "TriliumNext Notes Setup", | ||||
|         icon: getIcon(), | ||||
|         webPreferences: { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran