1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix getTrayIconPath when built

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-12-21 15:30:26 -05:00
parent 2f1edc0c0b
commit ca7c3c1284

View File

@ -21,7 +21,9 @@ const getTrayIconPathInjectable = getInjectable({
const baseIconDirectory = joinPaths(
staticFilesDirectory,
isDevelopment ? "../build/tray" : "icons", // copied within electron-builder extras
isDevelopment ? ".." : "",
"build",
"tray",
);
const fileSuffix = isMac ? "Template.png" : ".png";