fix(vibetyper): adapt install to upstream 1.6.0 AppImage layout

Upstream renamed the desktop file to "Vibe Typer.desktop" (also under
usr/share/applications), changed Exec to "vibe-typer", and replaced the
top-level 512x512 icon with a 256x256 one. Install the renamed files,
keep the lowercase vibe-typer.desktop name for compatibility, and
rewrite Exec to the wrapper binary.
This commit is contained in:
m3ta-chiron committed 2026-10-11 14:35:09 +02:00
1 parent ebd79d5ca5
commit 3dbd16339a
1 file changed
+8 -4
+8 -4
View File
@@ -23,11 +23,15 @@ in
extraPkgs = pkgs: [pkgs.fuse2];
extraInstallCommands = ''
install -m 444 -D ${appimageContents}/vibe-typer.desktop -t $out/share/applications
# Upstream 1.6.0 renamed the desktop file to "Vibe Typer.desktop"
# (Exec=vibe-typer); install it under the old lowercase name and point
# Exec at the wrapper binary.
install -m 444 -D "${appimageContents}/usr/share/applications/Vibe Typer.desktop" \
$out/share/applications/vibe-typer.desktop
substituteInPlace $out/share/applications/vibe-typer.desktop \
--replace 'Exec=AppRun --no-sandbox' 'Exec=${pname}'
install -m 444 -D ${appimageContents}/vibe-typer.png \
$out/share/icons/hicolor/512x512/apps/vibe-typer.png
--replace 'Exec=vibe-typer' 'Exec=${pname}'
install -m 444 -D "${appimageContents}/Vibe Typer.png" \
$out/share/icons/hicolor/256x256/apps/vibe-typer.png
wrapProgram $out/bin/${pname} \
--set VIBE_DISABLE_HYPRLAND_INDICATOR_NO_BLUR 1
'';