Fix path
This commit is contained in:
parent
16cea54a31
commit
77b3d1e4c3
|
@ -1,4 +1,5 @@
|
||||||
const cp = require("child_process");
|
const cp = require("child_process");
|
||||||
|
const path = require("path");
|
||||||
const pkg = require("./package.json");
|
const pkg = require("./package.json");
|
||||||
|
|
||||||
cp.spawnSync(
|
cp.spawnSync(
|
||||||
|
@ -6,7 +7,7 @@ cp.spawnSync(
|
||||||
[
|
[
|
||||||
"build",
|
"build",
|
||||||
"--manifest-path",
|
"--manifest-path",
|
||||||
"native/Cargo.toml",
|
path.join(__dirname, "native", "Cargo.toml"),
|
||||||
"--release",
|
"--release",
|
||||||
"--features",
|
"--features",
|
||||||
pkg.name.split("/")[1],
|
pkg.name.split("/")[1],
|
||||||
|
|
Loading…
Reference in New Issue