RubyGems
npm
Organizations
Log in
Sign up
npm
sys-shim
Versions diffs
0.0.1-6 → 0.0.1-7
sys-shim 0.0.1-6 → 0.0.1-7
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/package.json
+1
-1
package/script/bin/sys-shim.cjs
+3
-1
package/package.json
CHANGED
Viewed
@@ -2,7 +2,7 @@
2
2
"name": "sys-shim",
3
3
"private": false,
4
4
"type": "module",
5
-
"version": "0.0.1-
6
",
5
+
"version": "0.0.1-
7
",
6
6
"main": "./script/npm-pkg/node/main.min.cjs",
7
7
"module": "./script/npm-pkg/node/main.min.mjs",
8
8
"browser": {
package/script/bin/sys-shim.cjs
CHANGED
Viewed
@@ -1,4 +1,6 @@
1
-
const
cp = require(`
node
:child_process`)
1
+
#!/usr/bin/env
node
2
+
3
+
const cp = require(`child_process`)
2
4
const cwd = `${__dirname}/../npm-pkg/shim/win/`
3
5
cp.execSync(`${cwd}/main.exe`, {
4
6
cwd,