mirror of
https://github.com/SinTan1729/ReVancedBuilder.git
synced 2024-12-26 04:38:36 -06:00
Move chosen patches file to working directory
This commit is contained in:
parent
0ddf729a44
commit
fb50543f59
3 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
**Please read the following information before beginning.**
|
||||
|
||||
By default the script will build ReVanced with ALL default* patches. Edit `patches.txt` to customize your build of ReVanced.
|
||||
By default the script will build ReVanced with ALL default* patches. Copy `chosen_patches.txt` inside your provided working directory and edit it to customize your build of ReVanced.
|
||||
|
||||
*Default: All patches except those which have to be ***included*** explicitly, i.e, using the `-i` flag while manually using the ReVanced CLI
|
||||
|
||||
|
|
|
@ -10,9 +10,6 @@ log_file="$1/logs/$(date '+%s')"
|
|||
# Get timestamp
|
||||
timestamp=$(date '+%s')
|
||||
|
||||
# File containing all patches
|
||||
patch_file="./patches.txt"
|
||||
|
||||
# Set working directory and current directory
|
||||
if [ -d "$1" ]; then
|
||||
WDIR="$1"
|
||||
|
@ -21,6 +18,9 @@ else
|
|||
exit -1
|
||||
fi
|
||||
|
||||
# File containing all patches
|
||||
patch_file="$WDIR./chosen_patches.txt"
|
||||
|
||||
# Returns if $1 is less than $2
|
||||
ver_less_than() {
|
||||
[ ${1:0:1} == "v" ] && var1=${1:1} || var1=$1
|
||||
|
|
Loading…
Reference in a new issue