mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 23:06:09 +01:00
This commit is contained in:
parent
a5e40b2e8c
commit
3d1ecd02de
2 changed files with 52 additions and 73 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue