Skip to content

Commit

Permalink
[bug]:fix sa.node lock issue
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie-zeng committed Nov 22, 2024
1 parent 60fbb9e commit bb8dccb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file added docs/um/script1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ecubuspro",
"version": "0.8.5",
"version": "0.8.6",
"description": "EcuBus-Pro",
"main": "./out/main/index.js",
"author": "[email protected]",
Expand Down
4 changes: 3 additions & 1 deletion src/main/docan/uds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,9 @@ async function compileTscEntry(
for (const nodeFile of nodeFiles) {
const src = path.join(libPath, nodeFile)
const dest = path.join(outputDir, nodeFile)
await fsP.copyFile(src, dest)
if(!fs.existsSync(dest)){
await fsP.copyFile(src, dest)
}
}


Expand Down

0 comments on commit bb8dccb

Please sign in to comment.