Update Waiting Page

This commit is contained in:
Maxetto
2025-09-05 12:17:13 +02:00
committed by GitHub
parent 23e91a5ea7
commit 12b5fe1e30

View File

@@ -154,6 +154,7 @@
const platform = '{{platform}}'.toLowerCase(); const platform = '{{platform}}'.toLowerCase();
const platformLogos = { const platformLogos = {
'windows': document.getElementById('windowsLogo'), 'windows': document.getElementById('windowsLogo'),
'windows-x86': document.getElementById('windowsLogo'),
'macos': document.getElementById('macosLogo'), 'macos': document.getElementById('macosLogo'),
'linux': document.getElementById('linuxLogo'), 'linux': document.getElementById('linuxLogo'),
'android': document.getElementById('androidLogo') 'android': document.getElementById('androidLogo')
@@ -167,7 +168,7 @@
document.getElementById('pageTitle').textContent = 'Generating MacOS Build'; document.getElementById('pageTitle').textContent = 'Generating MacOS Build';
platformLogos.macos.style.display = 'block'; platformLogos.macos.style.display = 'block';
document.getElementById('macosNote').style.display = 'block'; document.getElementById('macosNote').style.display = 'block';
} else if (platform === 'windows') { } else if (platform === 'windows' | platform === 'windows-x86') {
document.getElementById('pageTitle').textContent = 'Generating Windows Build'; document.getElementById('pageTitle').textContent = 'Generating Windows Build';
platformLogos.windows.style.display = 'block'; platformLogos.windows.style.display = 'block';
} else if (platform === 'linux') { } else if (platform === 'linux') {
@@ -214,4 +215,4 @@
}, 5000); // 5000 milliseconds = 5 seconds }, 5000); // 5000 milliseconds = 5 seconds
</script> </script>
</body> </body>
</html> </html>