beeper: fix desktop entry copy (#399879)

This commit is contained in:
Aleksana
2025-04-23 11:39:36 +08:00
committed by GitHub
+1 -1
View File
@@ -27,12 +27,12 @@ appimageTools.wrapType2 {
# disable creating a desktop file and icon in the home folder during runtime
linuxConfigFilename=$out/resources/app/build/main/linux-*.mjs
echo "export function registerLinuxConfig() {}" > $linuxConfigFilename
substituteInPlace $out/beepertexts.desktop --replace-fail "AppRun" "beeper"
'';
extraInstallCommands = ''
install -Dm 644 ${appimageContents}/beepertexts.png $out/share/icons/hicolor/512x512/apps/beepertexts.png
install -Dm 644 ${appimageContents}/beepertexts.desktop -t $out/share/applications/
substituteInPlace $out/share/applications/beepertexts.desktop --replace-fail "AppRun" "beeper"
. ${makeWrapper}/nix-support/setup-hook
wrapProgram $out/bin/beeper \