-
Notifications
You must be signed in to change notification settings - Fork 3
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: 基于tauri将网页打包为桌面程序 #5
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢,目前的部分已检查,能够正常运行。一些小改动备注在review中了。
期待的功能:
- 基于GitHub Action,能将tauri打包好的产物放在Release中
src-tauri/Cargo.toml
Outdated
name = "app" | ||
version = "0.1.0" | ||
description = "A Tauri App" | ||
authors = ["you"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
《you》🫠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
和package.json/tauri.config里的信息最好是匹配的
"scripts": { | ||
"dev": "vite", | ||
"build": "vue-tsc --noEmit && vite build --base=./", | ||
"build-flask": "vue-tsc --noEmit && vite build --base=/static/", | ||
"build-go": "vue-tsc --noEmit && vite build --base=/dist/", | ||
"preview": "vite preview" | ||
"preview": "vite preview", | ||
"tauri-build": "tauri build" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
像这样新增一个需要执行命令的,tauri build这类的命令,最好也加入到package.json的scripts当中,因为这是个以node作为根目录包管理的仓库。此处需要加上
建议先在你Fork的仓库中试试GitHub Action |
workflow
No description provided.