ente-desktop: fix tray icon (#387042)

* ente-desktop: fix tray icon

* Update pkgs/by-name/en/ente-desktop/package.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

---------

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Yureka
2025-03-04 19:38:20 +01:00
committed by GitHub
co-authored by Sandro
parent b3af8c84e6
commit 27a33c4fe1
+2 -1
View File
@@ -63,7 +63,8 @@ stdenv.mkDerivation (finalAttrs: {
# Path to vips (otherwise it looks within the electron derivation)
postPatch = ''
substituteInPlace src/main/services/image.ts --replace-fail "process.resourcesPath" "\"$out/share/ente-desktop/resources\""
substituteInPlace src/main/services/image.ts src/main.ts \
--replace-fail "process.resourcesPath" '"$out/share/ente-desktop/resources"'
'';
postConfigure = ''