参考所有分组,完成尽量多的内容。禁止顺手扩功能 smoke

结论:按 LinuxCNC rs274ngc_pre.cc save_parameters()/restore_parameters() 的参数文件流程,收紧 OPFS 参数持久化后 WASM 根目录 scratch 文件清理;未扩展临时 smoke 行为。
This commit is contained in:
cnc
2026-06-03 21:32:27 +08:00
parent 945e839e9d
commit 21c242c9a4
2 changed files with 4 additions and 2 deletions

View File

@@ -533,6 +533,7 @@ function installOpfsWorkspace(module, options) {
} else {
await removeOpfsFileEntry(workspacePath, `${path}.bak`);
}
cleanupLinuxCncParameterFiles(module);
return data;
},
async removeFile(path) {