This commit is contained in:
2026-03-09 15:39:14 +00:00
parent fa847bdcda
commit a89ef7c9ea
4 changed files with 146 additions and 2 deletions
+2 -1
View File
@@ -15,8 +15,9 @@
desktop_file=$(find ${contents} -name "*.desktop" | head -n1)
if [ -n "$desktop_file" ]; then
install -m 444 -D "$desktop_file" "$out/share/applications/${pname}.desktop"
# The desktop file uses 'zen' as the binary name
substituteInPlace "$out/share/applications/${pname}.desktop" \
--replace 'Exec=AppRun' 'Exec=${pname}' || true
--replace 'Exec=zen' 'Exec=${pname}'
fi
if [ -d ${contents}/usr/share/icons ]; then