Merged
Conversation
增强生成清单脚本以自动发现签名目录
修复签名文件路径通配符问题并增强签名文件扫描功能 处理双层 signatures 目录结构 优化平台特定签名文件的匹配逻辑 添加备选签名文件匹配机制
修改release workflow不合并签名文件,确保每个artifact下载到独立目录 简化generate-manifest.js脚本,移除冗余代码和复杂逻辑
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
描述
修复 Tauri 自动更新功能中的签名文件路径问题,确保所有平台(macOS Intel、macOS Apple Silicon、Windows x64 with/without WebView2)的更新签名文件能够被正确识别和打包到更新清单中。
更改类型
相关问题
关闭 #自动更新签名文件找不到的问题
更改内容
更改的文件
主要更改
修复签名文件下载方式 - 移除 merge-multiple: true 配置,确保每个平台的签名文件下载到独立的子目录,避免文件混淆
简化 manifest 生成脚本 - 将 generate-manifest.js 从 557 行简化至 174 行,移除冗余的复杂匹配逻辑:
修正 Windows 签名目录名称 - 修复 artifact 名称与代码期望不匹配的问题:
增强错误处理 - 添加清晰的错误提示,当找不到签名文件时提供排查建议
测试
描述你如何测试这些更改:
截图
如果适用,请添加截图来展示更改。
检查清单
其他信息
此次更改解决了 GitHub Actions 构建过程中 Windows 平台签名文件无法被正确识别的问题。根本原因是 artifact 命名格式( withwebview2 )与代码期望( with-webview2 )不一致,以及签名文件被嵌套在双层 signatures/signatures/ 目录中。