UI: Implement JavaScript getOS function Windows platform architecture detection #104136
@ -337,9 +337,13 @@ $analytics_event_name = 'Downloads+Blender';
|
|||||||
if (os == 'windows') {
|
if (os == 'windows') {
|
||||||
showPlatformWarning('This Windows version might not be supported.');
|
showPlatformWarning('This Windows version might not be supported.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Windows Arm. */
|
||||||
else if (os == 'windows-arm') {
|
else if (os == 'windows-arm') {
|
||||||
showPlatformWarning('Blender is not available for Windows ARM architecture yet.');
|
/* Set the Download button platform to Windows Arm. */
|
||||||
|
downloadButtons = document.getElementsByClassName('dl-os-windows-arm');
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Linux. */
|
/* Linux. */
|
||||||
else if (os.startsWith('linux') || os.startsWith('freebsd')) {
|
else if (os.startsWith('linux') || os.startsWith('freebsd')) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user