mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
30 lines
590 B
Bash
30 lines
590 B
Bash
#!/bin/bash
|
|
|
|
BUILD_VERSION='v1'
|
|
if [[ ! $BUILD_VERSION -eq 'continuous' ]];then
|
|
BUILD_VERSION=v0
|
|
fi
|
|
echo $BUILD_VERSION
|
|
sed -i "s/BUILD_VERSION/${BUILD_VERSION//v/}/" "/mnt/disk2/wechat-web-devtools-linux/tmp/deb/DEBIAN/control"
|
|
|
|
exit
|
|
|
|
if [[ $NO_WINE == 'true' ]];then
|
|
echo "not wine"
|
|
fi
|
|
|
|
if [[ $@ =~ -ll ]];then
|
|
echo "include"
|
|
fi
|
|
exit
|
|
|
|
echo "$@ $0 $1 $2"
|
|
|
|
root_dir=$(cd `dirname $0`/.. && pwd -P)
|
|
export PATH="$root_dir/node/bin:$PATH"
|
|
|
|
PY_VERSION=`python -V 2>&1|awk '{print $2}'|awk -F '.' '{print $1}'`
|
|
echo $PY_VERSION
|
|
if [ "$PY_VERSION" == "Python 3.10.1" ]; then
|
|
echo ok
|
|
fi |