-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild-mac.sh
executable file
·30 lines (26 loc) · 1.07 KB
/
build-mac.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# ssh [email protected]:Documents/blue-log-viewer/build-mac.sh . | sh -
# chmod +x build-mac.sh
# ./build-mac.sh
# Stop on first error
#set -e
set -o xtrace
echo "Enter Password of remote server"
ssh -D 1080 -q -N -f [email protected]
#curl --socks5-hostname 127.0.0.1:1080 https://github.com
echo "Enter Password of remote server"
scp -rp [email protected]:Documents/blue-log-viewer . && \
hdiutil attach ./blue-log-viewer/resources/Command_Line_Tools_macOS_10.12_for_Xcode_9.2.dmg && \
installer -store -pkg \
"/Volumes/Command Line Developer Tools/Command Line Tools (macOS Sierra version 10.12).pkg" \
-target / && \
chmod +x ./blue-log-viewer/resources/homebrew-installer.sh && \
env http_proxy=socks5h://127.0.0.1:1080 \
HTTPS_PROXY=socks5h://127.0.0.1:1080 \
ALL_ROXY=socks5h://127.0.0.1:1080 \
./blue-log-viewer/resources/homebrew-installer.sh && \
env http_proxy=socks5h://127.0.0.1:1080 \
HTTPS_PROXY=socks5h://127.0.0.1:1080 \
ALL_ROXY=socks5h://127.0.0.1:1080 \
brew install pyqt5 && \
cd blue-log-viewer && \
python3.7 blue-log-viewer.py