-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathbuild.sh
More file actions
20 lines (17 loc) · 806 Bytes
/
Copy pathbuild.sh
File metadata and controls
20 lines (17 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env sh
# Set Application Tags
name="Fire Tools"
author="Hayden Plumley & Contributors"
path="./Fire-Tools"
version=$(cat "$path/version")
# Set Scripts as Executables
chmod +x "$path"/Scripts/Posix/*.sh
# Build into Seperate Folder with Batch, Gapps, Extracted, Scripts, and Debloat.txt Included
python3 -m nuitka ./Fire-Tools/main.py --output-filename=fire-tools --mode=standalone --enable-plugin=tk-inter \
--product-name="$name" --product-version="$version" --copyright="$author" --file-description="$name" \
--include-data-dir="$path/Batch"=./Batch \
--include-data-dir="$path/Extracted"=./Extracted \
--include-data-dir="$path/Gapps"=./Gapps \
--include-data-dir="$path/Scripts/Posix"=./Scripts/Posix \
--include-data-files="$path/Debloat.txt"=./ \
--include-data-files="$path/*.apk"=./