Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

构建阶段-每次构建都会把MiniGameConfig中的DST字段修改为绝对路径 #934

Open
Seng-Jik opened this issue Jan 3, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Seng-Jik
Copy link

Seng-Jik commented Jan 3, 2025

描述Bug

  1. 设置DST字段为一个相对路径
  2. 工作正常,输出到正确的目录
  3. 再次打开MiniGameConfig后发现DST变成了绝对路径

运行环境

Windows 11
Unity 2022.3.10f1
WX-SDK 202412230248
通过github URL导入
在Windows 11上构建,目标为WebGL,使用“生成并转换”进行转换
@Seng-Jik Seng-Jik added the bug Something isn't working label Jan 3, 2025
@0oQiaoo0
Copy link
Contributor

0oQiaoo0 commented Jan 8, 2025

实际上,MiniGameConfig中存储的始终是绝对路径。
是指“微信小游戏转换工具面板”第二次打开后路径会变成绝对路径么?

@Seng-Jik
Copy link
Author

实际上,MiniGameConfig中存储的始终是绝对路径。 是指“微信小游戏转换工具面板”第二次打开后路径会变成绝对路径么?

只要不点击“生成并转换”,就不会变成绝对路径。
只有在点击了“生成并转换”后,它才会变成绝对路径。
这为git仓库中changes的管理以及多人协作带来了一些麻烦。
我不认为存储绝对路径是个好的做法。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants