mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Couple small fixes for Windows
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "run-s build:*",
|
"build": "run-s build:*",
|
||||||
"build:1-build": "yaakcli build",
|
"build:1-build": "yaakcli build",
|
||||||
"build:2-cpywasm": "cp \"../../node_modules/@1password/sdk-core/nodejs/core_bg.wasm\" build/",
|
"build:2-cpywasm": "cpx \"../../node_modules/@1password/sdk-core/nodejs/core_bg.wasm\" build/",
|
||||||
"dev": "yaakcli dev"
|
"dev": "yaakcli dev"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ if (version.startsWith('wasm-pack ')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log('Installing wasm-pack via cargo...');
|
console.log('Installing wasm-pack via cargo...');
|
||||||
execSync('cargo install wasm-pack', { stdio: 'inherit' });
|
execSync('cargo install wasm-pack --locked', { stdio: 'inherit' });
|
||||||
|
|
||||||
function tryExecSync(cmd) {
|
function tryExecSync(cmd) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user