From 6a73cc6ad711dcae5f460c1b986147e694df4ff2 Mon Sep 17 00:00:00 2001 From: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com> Date: Sat, 9 Nov 2024 08:38:24 +0530 Subject: [PATCH] fix(bld): update icon for linux post parsing --- src/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.js b/src/util.js index 4bfd74f4..ae2a1207 100644 --- a/src/util.js +++ b/src/util.js @@ -231,7 +231,7 @@ export const parse = async (options, pkg) => { options.app.name = options.app.name.replace(/[<>:"/\\|?*\u0000-\u001F]/g, ''); } /* Path to where the icon currently is in the filesystem */ - options.app.icon = path.basename(options.app.icon) ?? undefined; + options.app.icon = path.resolve(options.app.icon) ?? undefined; // TODO(#737): move this out if (options.platform === 'linux') {