notable: cleanup
This commit is contained in:
@@ -19,7 +19,7 @@ let
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
appimageTools.wrapType2 rec {
|
||||
appimageTools.wrapType2 {
|
||||
|
||||
inherit pname version src;
|
||||
|
||||
@@ -43,8 +43,8 @@ appimageTools.wrapType2 rec {
|
||||
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/1024x1024/apps/notable.png \
|
||||
$out/share/icons/notable.png
|
||||
substituteInPlace $out/share/applications/notable.desktop \
|
||||
--replace 'Exec=AppRun' 'Exec=${pname}'
|
||||
wrapProgram "$out/bin/${pname}" \
|
||||
--replace-fail 'Exec=AppRun' 'Exec=notable'
|
||||
wrapProgram "$out/bin/notable" \
|
||||
--add-flags "--disable-seccomp-filter-sandbox"
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user