mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
update: devtools to v1.06.2301040
This commit is contained in:
parent
277c1bde14
commit
ff3f815e9e
@ -1,6 +1,6 @@
|
||||
# 1.06.2209070-2 / 2023-01-
|
||||
# 1.06.2301040-1 / 2023-01-21
|
||||
|
||||
- fix: compiler not found
|
||||
- update: devtools to v1.06.2301040
|
||||
|
||||
# 1.06.2209070-1 / 2022-09-09
|
||||
|
||||
|
@ -1 +1 @@
|
||||
1.06.2209070,8c6be639c117f8c8e6493d335bb17eee
|
||||
1.06.2301040,17836311a4ec7be7472492965082c2e8
|
@ -8,6 +8,10 @@ notice() {
|
||||
echo -e "\033[36m $1 \033[0m "
|
||||
}
|
||||
|
||||
fail() {
|
||||
echo -e "\033[41;37m 失败 \033[0m $1"
|
||||
}
|
||||
|
||||
root_dir=$(cd `dirname $0`/.. && pwd -P)
|
||||
package_dir="$root_dir/package.nw"
|
||||
export PATH="$root_dir/node/bin:$PATH"
|
||||
@ -22,7 +26,7 @@ fi
|
||||
|
||||
PY_VERSION=`python -V 2>&1|awk '{print $2}'|awk -F '.' '{print $1}'`
|
||||
if [ $PY_VERSION != 2 ]; then
|
||||
hash python2 2>/dev/null || { echo >&2 "I require python2 but it's not installed. Aborting."; exit 1; }
|
||||
hash python2 2>/dev/null || { fail "I require python2 but it's not installed. Aborting."; exit 1; }
|
||||
ln -s "$( which python2 )" "$root_dir/node/bin/python"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user