Vanessa 2026-01-17 23:31:54 +08:00
parent a5e40b2e8c
commit 3d1ecd02de
2 changed files with 52 additions and 73 deletions

View file

@ -240,7 +240,7 @@
'win32': 'Windows',
'linux': 'Linux'
}[process.platform] || process.platform;
// Windows 系统版本判断
const release = os.release();
if (process.platform === 'win32') {
@ -254,7 +254,7 @@
}
}
}
document.getElementById('systemInfo').innerHTML = `${version} · ${platformName} (${release}) · ${os.arch()} · ${os.cpus()[0]?.model || ''}`;
</script>
</body>