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

richard (@richard) git at gitlab.torproject.org
Thu Dec 14 14:37:59 UTC 2023



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:

- 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/00416964636455d28e1c45d5f00508e3b18beaff

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/00416964636455d28e1c45d5f00508e3b18beaff
You're receiving this email because of your account on gitlab.torproject.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20231214/5470a5b6/attachment-0001.htm>


More information about the tbb-commits mailing list