[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41044: Add version.json file to Mullvad Browser



Title: GitLab

richard pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • 00416964
    by Nicolas Vigier at 2023-12-14T14:37:24+00:00
    Bug 41044: Add version.json file to Mullvad Browser
    
    Add a file to make it easier to detect the version of Mullvad Browser
    installed, like the tbb_version.json file we have in Tor Browser.
    

2 changed files:

Changes:

  • projects/browser/build
    ... ... @@ -302,10 +302,9 @@ do
    302 302
       [% c("touch") %] defaults/preferences/[% c("var/prefs_file") %]
    
    303 303
       zip -Xm omni.ja defaults/preferences/[% c("var/prefs_file") %]
    
    304 304
       rm -rf defaults
    
    305
    -  [% IF c("var/tor-browser") %]
    
    306
    -    # create tbb_version.json file for tor-browser#25020
    
    307
    -    echo '{"version":"[% c("var/torbrowser_version") %]","architecture":"[% c("var/mar_osname") %]","channel":"[% c("var/channel") %]","locale":"en-US"}' > ../tbb_version.json
    
    308
    -  [% END -%]
    
    305
    +  # create tbb_version.json (torbrowser) or version.json (mullvadbrowser)
    
    306
    +  # file for tor-browser#25020 and tor-browser-build#41044
    
    307
    +  echo '{"version":"[% c("var/torbrowser_version") %]","architecture":"[% c("var/mar_osname") %]","channel":"[% c("var/channel") %]","locale":"en-US"}' > ../[% c("var/version_json") %]
    
    309 308
       popd
    
    310 309
     done
    
    311 310
     
    

  • projects/browser/config
    ... ... @@ -13,6 +13,7 @@ var:
    13 13
         - bzip2
    
    14 14
         - jq
    
    15 15
       mar_osname: '[% c("var/osname") %]'
    
    16
    +  version_json: version.json
    
    16 17
     
    
    17 18
     targets:
    
    18 19
       linux:
    
    ... ... @@ -49,6 +50,7 @@ targets:
    49 50
       torbrowser:
    
    50 51
         var:
    
    51 52
           prefs_file: 000-tor-browser.js
    
    53
    +      version_json: tbb_version.json
    
    52 54
       basebrowser:
    
    53 55
         var:
    
    54 56
           prefs_file: 001-base-profile.js
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits