Fix getTrayIconPath when built

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-12-21 15:30:26 -05:00
1 parent 2f1edc0c0b
commit ca7c3c1284
1 file changed
+3 -1
@@ -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";