localsend: fix autostart

This commit is contained in:
aucub
2025-01-27 21:15:44 +08:00
committed by linsui
parent bf211cf6c3
commit 8bd04ce7b5
+5 -1
View File
@@ -7,7 +7,6 @@
makeDesktopItem,
copyDesktopItems,
nixosTests,
pkg-config,
libayatana-appindicator,
undmg,
makeBinaryWrapper,
@@ -36,6 +35,11 @@ let
pasteboard = "sha256-lJA5OWoAHfxORqWMglKzhsL1IFr9YcdAQP/NVOLYB4o=";
};
postPatch = ''
substituteInPlace lib/util/native/autostart_helper.dart \
--replace-fail 'Exec=''${Platform.resolvedExecutable}' "Exec=localsend_app"
'';
nativeBuildInputs = [
copyDesktopItems
];