fix: make sea script works on Windows™
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 24 Aug 2024 11:21:16 +0000 (13:21 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 24 Aug 2024 11:21:16 +0000 (13:21 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
package.json

index 21eebb3d1082209e0a031695288b606ac99274bf..12646596bd8691d612936ca12a0c1f78783479d9 100644 (file)
@@ -72,7 +72,7 @@
     "coverage": "c8 report --reporter=lcov",
     "coverage:html": "c8 report --reporter=html",
     "clinic:clean": "clinic clean",
-    "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && cp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2"
+    "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && pnpm dlx ncp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2"
   },
   "pnpm": {
     "overrides": {