Skip to content

Commit f69a421

Browse files
authored
block Windows 32 bit on v23 and up (#7133)
* block Windows 32 bit on v23 and up Signed-off-by: Alex Schwartz <[email protected]> * Update BitnessDropdown.tsx Signed-off-by: Alex Schwartz <[email protected]> --------- Signed-off-by: Alex Schwartz <[email protected]>
1 parent 834b69d commit f69a421

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

apps/site/components/Downloads/Release/BitnessDropdown.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const BitnessDropdown: FC = () => {
3939
disabledItems.push('arm64');
4040
}
4141

42+
if (os === 'WIN' && semVer.satisfies(release.version, '>= 23.0.0')) {
43+
disabledItems.push('86');
44+
}
45+
4246
if (os === 'LINUX' && semVer.satisfies(release.version, '< 4.0.0')) {
4347
disabledItems.push('arm64', 'armv7l');
4448
}

apps/site/scripts/release-post/downloadsTable.mjs

+8
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ const resolveDownloads = version => {
9999
);
100100
}
101101

102+
if (semVer.satisfies(version, '>= 23.0.0')) {
103+
downloads = downloads.filter(
104+
ver =>
105+
ver.title !== 'Windows 32-bit Installer' &&
106+
ver.title !== 'Windows 32-bit Binary'
107+
);
108+
}
109+
102110
return downloads;
103111
};
104112

0 commit comments

Comments
 (0)