Merge pull request #133094 from angustrau/etcher

etcher: fix desktop file
This commit is contained in:
Sandro 2021-08-08 12:05:05 +02:00 committed by GitHub
commit 9924d9231d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,9 @@ stdenv.mkDerivation rec {
cp -a usr/share/* $out/share
cp -a opt/balenaEtcher/{locales,resources} $out/share/${pname}
substituteInPlace $out/share/applications/balena-etcher-electron.desktop \
--replace /opt/balenaEtcher/balena-etcher-electron ${pname}
runHook postInstall
'';