localsend: fix autostart
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user