richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits: f958a200 by Nicolas Vigier at 2023-12-19T12:01:40+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:
- projects/browser/build - projects/browser/config
Changes:
===================================== projects/browser/build ===================================== @@ -302,10 +302,9 @@ do [% c("touch") %] defaults/preferences/[% c("var/prefs_file") %] zip -Xm omni.ja defaults/preferences/[% c("var/prefs_file") %] rm -rf defaults - [% IF c("var/tor-browser") %] - # create tbb_version.json file for tor-browser#25020 - echo '{"version":"[% c("var/torbrowser_version") %]","architecture":"[% c("var/mar_osname") %]","channel":"[% c("var/channel") %]","locale":"en-US"}' > ../tbb_version.json - [% END -%] + # create tbb_version.json (torbrowser) or version.json (mullvadbrowser) + # file for tor-browser#25020 and tor-browser-build#41044 + echo '{"version":"[% c("var/torbrowser_version") %]","architecture":"[% c("var/mar_osname") %]","channel":"[% c("var/channel") %]","locale":"en-US"}' > ../[% c("var/version_json") %] popd done
===================================== projects/browser/config ===================================== @@ -13,6 +13,7 @@ var: - bzip2 - jq mar_osname: '[% c("var/osname") %]' + version_json: version.json
targets: linux: @@ -49,6 +50,7 @@ targets: torbrowser: var: prefs_file: 000-tor-browser.js + version_json: tbb_version.json basebrowser: var: prefs_file: 001-base-profile.js
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/f9...