uni-app实现开发桌面应用的思路?
1、用uni-app开发h5应用
2、用electron打包成exe文件
nodejs v16.6.0
用uni-app开发打包成H5应用
h5打包目录下放入以下文件
main.js
const {app, BrowserWindow} = require('electron')
const path = require('path')
const url = require('url')
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
let win
function createWindow () {