Commit ce8380ee authored by brizental's avatar brizental
Browse files

fixup! Bug 41668: Tweaks to the Base Browser updater for Tor Browser

parent 8f819189
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -9,11 +9,11 @@
import io
import os


# TODO When TOR_BROWSER_DATA_OUTSIDE_APP_DIR is used on all platforms,
# we should remove all lines in this file that contain:
#      TorBrowser/Data


def get_build_entries(root_path):
    """Iterates through the root_path, creating a list for each file and
    directory. Excludes any file paths ending with channel-prefs.js.
+2 −1
Original line number Diff line number Diff line
@@ -138,7 +138,8 @@ void SetLastMousePressEvent(GdkEvent* aEvent) {
bool IsRunningUnderSnap() { return !!GetSnapInstanceName(); }

bool IsRunningUnderFlatpak() {
  // tor-browser#42293: Don't disable updater when run by torbrowser-launcher flatpak
  // tor-browser#42293: Don't disable updater when run by torbrowser-launcher
  // flatpak
  const char* torbrowserLauncher = g_getenv("TORBROWSER_LAUNCHER");
  if (torbrowserLauncher) {
    return false;