Skip to main content

Tauri

Rust 跨端 app,虽然比较新的框架,但是已经有较为成熟的产品,例如:ChatWise、HuLa,学习这种跨端框架当然是要跨端才好, 一次编写可以构建多个平台的 app

使用 github action 自动发布 release

.github/workflows/auto-push.yml
.github/workflows/test-build.yml
不熟悉Github Action的可以去看我写的入门介绍 使用上面的工作流可以在 push tag v*的时候自动构建并发布 Release 和生成 changelog changelog 生成使用的是Antfu changelogithub采用的是Conventional Commits语法,可以使用这种语法来提交git message生成好看的、易懂的 changelog changelog_example

Tauri-action

应用签名 如何配置 latest.json 如何构建移动端 app 如何自动发布到平台

Github Action Release 仓库允许读写权限

这样才能发布 Release 不然会有报错Error permisson

解决 使用 Nextjs SSR window is not defined

解决 Error: Cannot read properties of undefined (reading ‘xxxxxx’)

这个报错很有可能是使用插件未加载导致的,在 main.rs 中初始化插件
最后修改于 2026年4月19日