Skip to content

feat: 基于tauri将网页打包为桌面程序#5

Open
VON0000 wants to merge 34 commits into
laorange:masterfrom
VON0000:tauri
Open

feat: 基于tauri将网页打包为桌面程序#5
VON0000 wants to merge 34 commits into
laorange:masterfrom
VON0000:tauri

Conversation

@VON0000

@VON0000 VON0000 commented Aug 21, 2024

Copy link
Copy Markdown

No description provided.

@laorange laorange changed the title build: 使用tauri编译程序 feat: 基于tauri将网页打包为桌面程序 Sep 9, 2024

@laorange laorange left a comment

Copy link
Copy Markdown
Owner

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中

Comment thread src-tauri/Cargo.toml Outdated
name = "app"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

《you》🫠

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

和package.json/tauri.config里的信息最好是匹配的

Comment thread package.json
"build-go": "vue-tsc --noEmit && vite build --base=/dist/",
"preview": "vite preview"
"preview": "vite preview",
"tauri-build": "tauri build"

Copy link
Copy Markdown
Owner

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作为根目录包管理的仓库。此处需要加上

@laorange

laorange commented Sep 9, 2024

Copy link
Copy Markdown
Owner

建议先在你Fork的仓库中试试GitHub Action

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.

2 participants