mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	chore(dx/electron): different window icon
This commit is contained in:
		
							parent
							
								
									edf53c8a0f
								
							
						
					
					
						commit
						6f29bdf355
					
				@ -257,7 +257,11 @@ async function configureWebContents(webContents: WebContents, spellcheckEnabled:
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function getIcon() {
 | 
					function getIcon() {
 | 
				
			||||||
 | 
					    if (process.env.NODE_ENV === "development") {
 | 
				
			||||||
 | 
					        return path.join(__dirname, "../../../desktop/electron-forge/app-icon/png/256x256-dev.png");
 | 
				
			||||||
 | 
					    } else {
 | 
				
			||||||
        return path.join(RESOURCE_DIR, "../public/assets/icon.png");
 | 
					        return path.join(RESOURCE_DIR, "../public/assets/icon.png");
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function createSetupWindow() {
 | 
					async function createSetupWindow() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user