From f199fbded3bddcbad794d4c26524a7159ec0c5f3 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Sun, 4 Jun 2023 15:56:38 +0200 Subject: [PATCH] add more convenience scripts --- packaging/startTesting.sh | 15 +++++++++++++++ packaging/stopTesting.sh | 18 ++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 packaging/startTesting.sh create mode 100644 packaging/stopTesting.sh diff --git a/packaging/startTesting.sh b/packaging/startTesting.sh new file mode 100644 index 0000000..805e3e6 --- /dev/null +++ b/packaging/startTesting.sh @@ -0,0 +1,15 @@ +#! /bin/bash + +cd .. + +# Compile for Linux +pyinstaller imagevideoupscaler.spec +cp -r ./dist/imagevideoupscaler/* ./frontend/ + + +# Copy python files +cp -r ./bin ./frontend/ +cp -r ./config ./frontend/ +cp ./imagevideoupscaler-cli.py ./frontend/ +cp ./LICENSE ./frontend/ +cp ./logo.png ./frontend/ \ No newline at end of file diff --git a/packaging/stopTesting.sh b/packaging/stopTesting.sh new file mode 100644 index 0000000..3ff4eba --- /dev/null +++ b/packaging/stopTesting.sh @@ -0,0 +1,18 @@ +#! /bin/bash + +cd ../frontend + +rm -rf ./bin +rm -rf ./config +rm -rf ./libdynload +rm ./image* +rm ./lib* +rm ./ld* +rm ./base_library.zip +rm ./imagevideoupscaler-cli.py +rm ./LICENSE + +cd .. + +rm -rf ./build +rm -rf ./dist \ No newline at end of file