- 🔭 electron-egg框架作者
- 🌱 作品:electron-egg 一个跨平台桌面软件开发框架
- 📫 邮箱:[email protected]
- 😄 关于我:喜欢唱、跳、rap、篮球、music ......
wallace5303 / mayfly-desktop Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
直接下载git 项目
然后构建
npm i
cd frontend;npm i
cd ../go; go mod tidy
在根目录执行npm run dev是可以成功的拉起前后端和桌面客户端的
但是如果自己构建goapp可执行文件,就不行
流程
npm run build-frontend
npm run build-go-w
生成goapp.exe
修改 electron/service/cross.js ,
cmd: path.join(Ps.getExtraResourcesDir(), ‘mayfly-go.exe') 修改为 cmd: path.join(Ps.getExtraResourcesDir(), ’goapp.exe')
执行 npm run dev
报错
[ee-core] [corss/process] received a exit from child-process, code:2, signal:null, pid:22760
windows 和 mac都是这个错误
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.