chore(dx/electron): different window icon

This commit is contained in:
Elian Doran
2025-09-01 22:25:06 +03:00
parent edf53c8a0f
commit 6f29bdf355

View File

@@ -257,7 +257,11 @@ async function configureWebContents(webContents: WebContents, spellcheckEnabled:
}
function getIcon() {
return path.join(RESOURCE_DIR, "../public/assets/icon.png");
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");
}
}
async function createSetupWindow() {