boklm pushed to branch tor-browser-115.7.0esr-13.5-1 at The Tor Project / Applications / Tor Browser

Commits:

1 changed file:

Changes:

  • widget/gtk/WidgetUtilsGtk.cpp
    ... ... @@ -138,6 +138,11 @@ void SetLastMousePressEvent(GdkEvent* aEvent) {
    138 138
     bool IsRunningUnderSnap() { return !!GetSnapInstanceName(); }
    
    139 139
     
    
    140 140
     bool IsRunningUnderFlatpak() {
    
    141
    +  // tor-browser#42293: Don't disable updater when run by torbrowser-launcher flatpak
    
    142
    +  const char* torbrowserLauncher = g_getenv("TORBROWSER_LAUNCHER");
    
    143
    +  if (torbrowserLauncher) {
    
    144
    +    return false;
    
    145
    +  }
    
    141 146
       // https://gitlab.gnome.org/GNOME/gtk/-/blob/4300a5c609306ce77cbc8a3580c19201dccd8d13/gdk/gdk.c#L472
    
    142 147
       static bool sRunning = [] {
    
    143 148
         return g_file_test("/.flatpak-info", G_FILE_TEST_EXISTS);