firefox-devedition: change binary name and desktop entry

Firefox and Firefox DevEdition shouldn't have the same binary name
because it makes it hard to use these two browsers at the same time.

For example, In a common use case, one use Firefox for life
and use Firefox Dev Edition for web development.

Update icon name to avoid name collision.
This commit is contained in:
kxxt
2024-01-06 08:53:26 +08:00
parent ffb442f9f6
commit 8de91807c0
+6 -1
View File
@@ -31877,7 +31877,12 @@ with pkgs;
firefox = wrapFirefox firefox-unwrapped { };
firefox-beta = wrapFirefox firefox-beta-unwrapped { };
firefox-devedition = wrapFirefox firefox-devedition-unwrapped { };
firefox-devedition = wrapFirefox firefox-devedition-unwrapped {
nameSuffix = "-devedition";
desktopName = "Firefox Developer Edition";
wmClass = "firefox-devedition";
icon = "firefox-devedition";
};
firefox-mobile = callPackage ../applications/networking/browsers/firefox/mobile-config.nix { };