[tbb-commits] [Git][tpo/applications/tor-browser-build][main] Bug 41177: Include Windows installers without -portable- in download-*.json files

boklm (@boklm) git at gitlab.torproject.org
Thu Jun 20 13:03:12 UTC 2024



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


Commits:
0de58f7a by Nicolas Vigier at 2024-06-20T12:07:40+02:00
Bug 41177: Include Windows installers without -portable- in download-*.json files

After tor-browser-build#41167, the portable Windows installer are not
generated anymore for Mullvad Browser. We should include the normal
installer (without `-portable-` or `-install-` in the filename) in
the download-*.json files.

- - - - -


1 changed file:

- tools/update-responses/update_responses


Changes:

=====================================
tools/update-responses/update_responses
=====================================
@@ -138,9 +138,9 @@ sub get_version_downloads {
             $os = 'macos';
         } elsif ($file =~ m/^$config->{appname_bundle}-(linux-i686|linux-x86_64)-${version}.tar.xz$/) {
             $os = $1;
-        } elsif ($file =~ m/^$config->{appname_bundle}-windows-x86_64-portable-${version}.exe$/) {
+        } elsif ($file =~ m/^$config->{appname_bundle}-windows-x86_64-(portable-|)${version}.exe$/) {
             $os = 'win64';
-        } elsif ($file =~ m/^$config->{appname_bundle}-windows-i686-portable-${version}.exe$/) {
+        } elsif ($file =~ m/^$config->{appname_bundle}-windows-i686-(portable-|)${version}.exe$/) {
             $os = 'win32';
         } else {
             next;
@@ -167,7 +167,7 @@ sub get_perplatform_downloads {
           $os = 'macos';
         } elsif ($file =~ m/^$config->{appname_bundle}-(linux-i686|linux-x86_64)-${version}.tar.xz$/) {
           $os = $1;
-        } elsif ($file =~ m/^$config->{appname_bundle}-(windows-i686|windows-x86_64)-portable-${version}.exe$/) {
+        } elsif ($file =~ m/^$config->{appname_bundle}-(windows-i686|windows-x86_64)-(portable-|)${version}.exe$/) {
           $os = $1;
         } elsif ($file =~ m/^$config->{appname_bundle}-(android-armv7|android-x86|android-x86_64|android-aarch64)-${version}.apk$/) {
           $os = $1;



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0de58f7a69361e85355f352a88e90697058e1a45

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0de58f7a69361e85355f352a88e90697058e1a45
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/20240620/6aaf7036/attachment-0001.htm>


More information about the tbb-commits mailing list