2022
05-30
05-30
uniapp项目打包为桌面应用的方法步骤
安装electroncnpminstallelectron-g安装electron-packagercnpminstallelectron-packager-guniapp的manifest.json修改H5打包H5文件夹下新建package.json和main.js新建package.json{"name":"app-name","version":"0.1.0","main":"main.js"}新建main.jsconst{app,BrowserWindow}=require('electron')constpath=require('path')consturl=require('url')//Keepaglobalreferenceofthewindowob...
继续阅读 >