Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block Windows 32 bit on v23 and up #7133

Merged
merged 2 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions apps/site/components/Downloads/Release/BitnessDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ const BitnessDropdown: FC = () => {
disabledItems.push('arm64');
}

if (os === 'WIN' && semVer.satisfies(release.version, '>= 23.0.0')) {
disabledItems.push('86');
}

if (os === 'LINUX' && semVer.satisfies(release.version, '< 4.0.0')) {
disabledItems.push('arm64', 'armv7l');
}
Expand Down
8 changes: 8 additions & 0 deletions apps/site/scripts/release-post/downloadsTable.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ const resolveDownloads = version => {
);
}

if (semVer.satisfies(version, '>= 23.0.0')) {
downloads = downloads.filter(
ver =>
ver.title !== 'Windows 32-bit Installer' &&
ver.title !== 'Windows 32-bit Binary'
);
}

return downloads;
};

Expand Down
Loading