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


Commits:
dcc49985 by Nicolas Vigier at 2024-06-20T12:12:50+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/dcc499851badfc241b4bb353468600f5d31228f7

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


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

Reply via email to