beeper: fix desktop entry copy
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user