Skip to content

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

Open
VON0000 wants to merge 34 commits intolaorange:masterfrom
VON0000:tauri
Open

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

Conversation

@VON0000
Copy link

@VON0000 VON0000 commented Aug 21, 2024

No description provided.

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

@laorange laorange left a 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中

name = "app"
version = "0.1.0"
description = "A Tauri App"
authors = ["you"]
Copy link
Owner

Choose a reason for hiding this comment

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

《you》🫠

Copy link
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里的信息最好是匹配的

"build-go": "vue-tsc --noEmit && vite build --base=/dist/",
"preview": "vite preview"
"preview": "vite preview",
"tauri-build": "tauri build"
Copy link
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
Copy link
Owner

laorange commented Sep 9, 2024

建议先在你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