diff --git a/chromium_src/chrome/common/channel_info_posix.cc b/chromium_src/chrome/common/channel_info_posix.cc index b19eabc8a9a0..9273b928deed 100644 --- a/chromium_src/chrome/common/channel_info_posix.cc +++ b/chromium_src/chrome/common/channel_info_posix.cc @@ -54,6 +54,10 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName() { #if BUILDFLAG(IS_LINUX) std::string GetDesktopName(base::Environment* env) { + std::string brave_snap; + if (env->GetVar("BRAVE_SNAP", &brave_snap) && brave_snap == "1") { + return "brave.desktop"; + } #if defined(OFFICIAL_BUILD) version_info::Channel product_channel(chrome::GetChannel()); switch (product_channel) {