Skip to content

fix: correct embed_metadata.py path in XcodeGen (issue #73)#79

Merged
ShadyUnderLight merged 1 commit intomainfrom
fix/issue73-embed-metadata-path
Apr 27, 2026
Merged

fix: correct embed_metadata.py path in XcodeGen (issue #73)#79
ShadyUnderLight merged 1 commit intomainfrom
fix/issue73-embed-metadata-path

Conversation

@ShadyUnderLight
Copy link
Copy Markdown
Owner

@ShadyUnderLight ShadyUnderLight commented Apr 27, 2026

Summary

修复 GUI/project.ymlembed_metadata.py 的复制路径错误。

问题

post-build script 引用的是 ../Resources/embed_metadata.py,但实际路径是 ../Library/Resources/embed_metadata.py。仓库根目录下并不存在 Resources/ 目录。

这意味着 GUI 打包后运行时找不到 embed_metadata.py,导致 metadata 写入功能失效。

修复

project.yml 中的路径修正为正确值。

验证

  • 确认仓库根目录不存在 Resources/ 目录
  • 确认 Library/Resources/embed_metadata.py 存在

Fixes #73

The post-build script referenced ../Resources/embed_metadata.py but the
actual path is ../Library/Resources/embed_metadata.py. Without this fix,
the GUI app would fail to find the metadata script at runtime.

Fixes issue #73
@ShadyUnderLight ShadyUnderLight merged commit 0912c54 into main Apr 27, 2026
1 check passed
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.

XcodeGen 项目的 embed_metadata.py 复制路径不正确,GUI 构建/打包链路存在资源丢失风险

2 participants