mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
12 lines
319 B
Bash
12 lines
319 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 native-watchdog --save
|
|
rm -rf "$root_dir/package.nw/node_modules/native-watchdog"
|
|
cp -f "$root_dir/node_modules/native-watchdog" "$root_dir/package.nw/node_modules"
|