Merge pull request #66721 from emmanuelrosa/brave-desktop-file-fix

brave: fix path to brave in *.desktop file
This commit is contained in:
worldofpeace 2019-08-18 17:30:35 -04:00 committed by GitHub
commit 3a26957d91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ stdenv.mkDerivation rec {
# Fix paths # Fix paths
substituteInPlace $out/share/applications/brave-browser.desktop \ substituteInPlace $out/share/applications/brave-browser.desktop \
--replace /usr/bin/brave-browser $out/bin/brave --replace /usr/bin/brave-browser-stable $out/bin/brave
substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \ substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \
--replace /opt/brave.com $out/opt/brave.com --replace /opt/brave.com $out/opt/brave.com
substituteInPlace $out/share/menu/brave-browser.menu \ substituteInPlace $out/share/menu/brave-browser.menu \