electron: fix window icon path

This commit is contained in:
jean-emmanuel 2025-09-18 01:21:03 +02:00
parent 20b81b99f5
commit 007ff1e7fd

View file

@ -10,7 +10,7 @@ export default function(options={}) {
window = new BrowserWindow({
title: options.title || settings.infos.productName,
icon: path.resolve(__dirname + '/../assets/logo.png'),
icon: path.resolve(__dirname + '/../../assets/logo.png'),
backgroundColor: options.color,
type: options.type,
useContentSize: true,