Fix notification icon path

Changelog-entry: Fix notification icon path
Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-05-04 13:37:29 +02:00
parent bc631612df
commit 4d3eb2887c

View File

@ -90,7 +90,7 @@ async function flashImageToDrive(
// otherwise Windows throws EPERM
driveScanner.stop();
const iconPath = '../../assets/icon.png';
const iconPath = path.join('..', '..', '..', 'assets', 'icon.png');
const basename = path.basename(image.path);
try {
await imageWriter.flash(image.path, drives, sourceOptions);