Skip to content
Snippets Groups Projects
Unverified Commit 0de58f7a authored by boklm's avatar boklm
Browse files

Bug 41177: Include Windows installers without -portable- in download-*.json files

After #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.
parent e94ca9ad
Branches
Tags
1 merge request!992Bug 41177: Include Windows installers without -portable- in download-*.json files
......@@ -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;
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment