Update Makefile

This commit is contained in:
Yoshiko2
2022-03-17 02:11:51 +08:00
committed by GitHub
parent 0b7d3ed0a5
commit 5843a62d5e

View File

@@ -7,16 +7,16 @@ SHELL = /bin/bash
.DEFAULT: make .DEFAULT: make
make: make:
#@echo "[+]make prepare-dev" @echo "[+]make prepare-dev"
#sudo apt-get -y install python3.7 python3-pip #sudo apt-get -y install python3 python3-pip
#pip3 install -r requirements.txt pip3 install -r requirements.txt
#pip3 install pyinstaller pip3 install pyinstaller
#@echo "[+]Set CLOUDSCRAPER_PATH variable" #@echo "[+]Set CLOUDSCRAPER_PATH variable"
#export cloudscraper_path=$(python3 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1) #export cloudscraper_path=$(python3 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1)
@echo "[+]Pyinstaller make" @echo "[+]Pyinstaller make"
pyinstaller --onefile AV_Data_Capture.py --hidden-import ADC_function.py --hidden-import core.py \ pyinstaller --onefile Movie_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" \ --add-data "`python3 -c 'import cloudscraper as _; print(_.__path__[0])' | tail -n 1`:cloudscraper" \
--add-data "`python3 -c 'import opencc as _; print(_.__path__[0])' | tail -n 1`:opencc" \ --add-data "`python3 -c 'import opencc as _; print(_.__path__[0])' | tail -n 1`:opencc" \
--add-data "Img:Img" \ --add-data "Img:Img" \