mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
31 lines
686 B
Bash
31 lines
686 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)
|
|
cd $root_dir/tmp
|
|
export HTTPS_PROXY="http://127.0.0.1:7890"
|
|
# npm uninstall vscode-ripgrep
|
|
# npm install vscode-ripgrep
|
|
cd $root_dir/tmp/node_modules/vscode-ripgrep
|
|
rm -rf bin /tmp/vscode-ripgrep-cache-1.13.2/ripgrep-v13.0.0-4-x86_64-unknown-linux-musl.tar.gz
|
|
npm run postinstall
|