Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat:添加electron支持打包为桌面端应用 #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GiorunoGiovanna
Copy link

添加electron支持,让这个项目可以作为一个桌面端应用运行。

说明:在进行electron构建前要先用vite打包。electron会根据dist中的打包文件进行构建。当然,也可以在public/main.js中做自己的配置。

两个命令:preview:electron预览,build:electron生成二进制安装文件

@peasoft
Copy link

peasoft commented Aug 16, 2022

不是吧,一个浏览器主页都要改桌面应用……这真的有必要吗?

@amatke31
Copy link

你不会真想把他当命令行用吧……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants