Repository navigation
4.6.5 - #658
4.6.5#658
Conversation
- 删除 .vscode/translation.code-snippets(内含已失效的 useTrans 片段及模板残留) - 根 .gitignore:移除已失效的 yarn.lock 忽略规则,新增 .vscode/ 忽略规则 - 将 locales 生成文件规则从根 .gitignore 移至 packages/origine2/.gitignore - terre-android/.gitignore:移除重复的 local.properties 规则
config.txt 中键或值存在首尾空格时,解析结果带空格导致字段匹配失败。因此要对 key 和 value 均做 trim 处理。
fix: 修复游戏封面图无法显示的问题 (#643)
chore: 整理 .gitignore 并移除失效的 .vscode 代码片段
chore: name concurrently processes for clearer dev logs
fix(editor): use last segment as file extension in EditArea
WebGAL 构建产物不再自带 gz,导出 Web 时对 assets 下的 js/css/ttf 生成同名 .gz,压缩参数与引擎构建期一致。Electron/Android 导出不受影响。 refs #654
合并 gzipFiles/gzipFilesInDir 为一个方法,只处理资源目录一层(引擎产物 assets 是扁平的);去掉无人使用的返回值与内部错误吞噬,失败交由导出流程的 catch 处理;内联仅使用一次的扩展名常量。 refs #656
feat: 导出 Web 时为引擎资源生成 gz 预压缩文件
feat: change figure diff 编辑功能
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7f1a982b54
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| await this.webgalFs.gzipFiles(`${webExportDir}/assets`, [ | ||
| '.js', | ||
| '.css', | ||
| '.ttf', | ||
| ]); |
There was a problem hiding this comment.
Guard gzip generation for derivative engines
For a fresh Web export of a derivative engine, the engine is considered valid solely because its root contains index.html; an assets directory is not required. This unconditional call makes gzipFiles run readdir on a potentially absent directory, and the resulting exception is caught by the outer export handler, which reports the entire export as failed. Only gzip when the copied engine has this directory, or limit this step to the official engine template.
Useful? React with 👍 / 👎.
| "webgal-engine": "4.6.4", | ||
| "webgal-parser": "4.6.3", | ||
| "webgal-parser": "4.6.5-beta.1", |
There was a problem hiding this comment.
Upgrade the runtime before exposing changeFigureDiff
When users add the newly exposed changeFigureDiff command, only the standalone parser is advanced to 4.6.5 beta while webgal-engine remains pinned to 4.6.4. update-webgal.ts copies that engine package into the preview/export template, and the repository contains no runtime implementation of this command outside editor/LSP support, so generated scenes are handed to an older bundled runtime that cannot execute the new command. Upgrade the engine in lockstep before making the command available.
Useful? React with 👍 / 👎.
| "vscode-ws-jsonrpc-webgal": "0.2.1", | ||
| "webgal-engine": "4.6.4", | ||
| "webgal-parser": "4.6.3", | ||
| "webgal-parser": "4.6.5-beta.1", |
There was a problem hiding this comment.
Although this is the 4.6.5 release and its parser dependency is advanced accordingly, the root package, both workspace packages, TERRE_VERSION, and bundled template metadata all remain at 4.6.4. Consequently the built server still identifies itself as 4.6.4 and generated template metadata advertises the previous release, preventing version/update consumers from distinguishing this release. Update the release-version fields together as was done for 4.6.4.
Useful? React with 👍 / 👎.
No description provided.