gpt4 book ai didi

system - 如何在Electron中获取系统信息?

转载 作者:行者123 更新时间:2023-12-04 13:59:02 25 4
gpt4 key购买 nike

我需要在 Electron 中获取多平台的系统信息.如何在Electron中获取系统信息?

最佳答案

查看此页面 https://nodejs.org/api/os.html .它是 nodejs 文档,但由于 Electron 和节点非常相似,因此它可以工作。

var os = require('os');

是你正在寻找的东西。

关于system - 如何在Electron中获取系统信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34146019/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com