try other way to retrieve icon path for about window

This commit is contained in:
Mirko Golze 2023-09-27 22:39:22 +02:00
parent 36f9902f2e
commit 6a2ba0f746

View File

@ -51,7 +51,7 @@ const template = [
click: () =>
openAboutWindow({
product_name: 'Bruno',
icon_path: join(__dirname, '../../resources/icons/png/256x256.png'),
icon_path: join(process.cwd(), '/resources/icons/png/256x256.png'),
homepage: 'https://www.usebruno.com/',
package_json_dir: join(__dirname, '../..')
})