# LibreWolf lw-logo-devtools.patch # # Author: Malte Jürgens # Description: Replaces Firefox logo with LibreWolf logo in `about:debugging` # Last Updated: 2023-01-18 # License: MPL 2.0 --- a/devtools/client/aboutdebugging/src/actions/runtimes.js +++ b/devtools/client/aboutdebugging/src/actions/runtimes.js @@ -71,9 +71,7 @@ async function getRuntimeIcon(runtime, channel) { } } - return channel === "release" || channel === "beta" || channel === "aurora" - ? `chrome://devtools/skin/images/aboutdebugging-firefox-${channel}.svg` - : "chrome://devtools/skin/images/aboutdebugging-firefox-nightly.svg"; + return "chrome://devtools/skin/images/aboutdebugging-firefox-librewolf.svg"; } function onRemoteDevToolsClientClosed() { --- a/devtools/client/jar.mn +++ b/devtools/client/jar.mn @@ -374,6 +374,7 @@ devtools.jar: skin/images/aboutdebugging-firefox-logo.svg (themes/images/aboutdebugging-firefox-logo.svg) skin/images/aboutdebugging-firefox-nightly.svg (themes/images/aboutdebugging-firefox-nightly.svg) skin/images/aboutdebugging-firefox-release.svg (themes/images/aboutdebugging-firefox-release.svg) + skin/images/aboutdebugging-firefox-librewolf.svg (themes/images/aboutdebugging-firefox-librewolf.svg) skin/images/aboutdebugging-globe-icon.svg (themes/images/aboutdebugging-globe-icon.svg) skin/images/aboutdebugging-information.svg (themes/images/aboutdebugging-information.svg) skin/images/aboutdebugging-process-icon.svg (themes/images/aboutdebugging-process-icon.svg) --- /dev/null +++ b/devtools/client/themes/images/aboutdebugging-firefox-librewolf.svg @@ -0,0 +1 @@ + --- a/devtools/client/themes/images/aboutdebugging-firefox-logo.svg +++ b/devtools/client/themes/images/aboutdebugging-firefox-logo.svg @@ -1,6 +1 @@ - - - - +