mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
12 lines
346 B
Bash
12 lines
346 B
Bash
#!/bin/bash
|
|
|
|
root_dir=$(cd `dirname $0`/.. && pwd -P)
|
|
export PATH="$root_dir/node/bin:$PATH"
|
|
|
|
cd "$root_dir/tmp"
|
|
mkdir node_test
|
|
cd node_test
|
|
# npm install nodegit --save --prefix="$root_dir/tmp/node_test"
|
|
rm -rf "$root_dir/package.nw/node_modules/nodegit"
|
|
cp -r "$root_dir/tmp/node_test/node_modules/nodegit" "$root_dir/package.nw/node_modules"
|