在 Node.js 中创建桌面快捷方式的方法有以下几种:
node-shortcut
可以使用 node-shortcut 库来创建桌面快捷方式。安装方法:
npm installnode-shortcut