From d82e5915852ce51c2b844b6bd971010cd328ae15 Mon Sep 17 00:00:00 2001 From: Yoshiko2 Date: Sat, 22 May 2021 16:50:56 +0800 Subject: [PATCH] Update Linux.sh --- wrapper/Linux.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wrapper/Linux.sh b/wrapper/Linux.sh index 4bf8546..251ed05 100755 --- a/wrapper/Linux.sh +++ b/wrapper/Linux.sh @@ -1,14 +1,14 @@ if [ '$(dpkg --print-architecture)' != 'amd64' ] || [ '$(dpkg --print-architecture)' != 'i386' ]; then apt install python3 python3-pip git sudo libxml2-dev libxslt-dev build-essential wget nano libcmocka-dev libcmocka0 -y apt install zlib* libjpeg-dev -y - wget https://files.pythonhosted.org/packages/82/96/21ba3619647bac2b34b4996b2dbbea8e74a703767ce24192899d9153c058/pyinstaller-4.0.tar.gz - tar -zxvf pyinstaller-4.0.tar.gz - cd pyinstaller-4.0/bootloader - sed -i "s/ '-Werror',//" wscript - python3 ./waf distclean all - cd ../ - python3 setup.py install - cd ../ + #wget https://files.pythonhosted.org/packages/82/96/21ba3619647bac2b34b4996b2dbbea8e74a703767ce24192899d9153c058/pyinstaller-4.0.tar.gz + #tar -zxvf pyinstaller-4.0.tar.gz + #cd pyinstaller-4.0/bootloader + #sed -i "s/ '-Werror',//" wscript + #python3 ./waf distclean all + #cd ../ + #python3 setup.py install + #cd ../ fi pip3 install -r requirements.txt pyinstaller --onefile AV_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py --add-data "$(python3 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1):cloudscraper"