更新时间:2023-01-25 21:53:12
检查squirrel-firstrun标志:
Check for the squirrel-firstrun flag:
var cmd = process.argv[1];
if (cmd == '--squirrel-firstrun') {
// Running for the first time.
}
(您无需安装任何程序即可工作)
(you don't need to install anything for this to work)