diff --git a/build.sh b/build.sh index 9b98b7ca5b..cdf2968d4f 100755 --- a/build.sh +++ b/build.sh @@ -34,10 +34,10 @@ if [ "$UPDATE_PREBUILTS" = true ]; then get_prebuilts; else set_prebuilts; fi reset_template get_cmpr -if [ "$BUILD_TWITTER" = true ]; then build_twitter & fi -if [ "$BUILD_REDDIT" = true ]; then build_reddit & fi -if [ "$BUILD_WARN_WETTER" = true ]; then build_warn_wetter & fi -if [ "$BUILD_TIKTOK" = true ]; then build_tiktok & fi +if [ "$BUILD_TWITTER" = true ]; then build_twitter; fi +if [ "$BUILD_REDDIT" = true ]; then build_reddit; fi +if [ "$BUILD_WARN_WETTER" = true ]; then build_warn_wetter; fi +if [ "$BUILD_TIKTOK" = true ]; then build_tiktok; fi if [ "$BUILD_YT" = true ]; then build_yt; fi if [ "$BUILD_MUSIC_ARM64_V8A" = true ]; then build_music $ARM64_V8A; fi if [ "$BUILD_MUSIC_ARM_V7A" = true ]; then build_music $ARM_V7A; fi @@ -51,7 +51,5 @@ if [ "$BUILD_MINDETACH_MODULE" = true ]; then cd ../../ fi -wait - reset_template echo "Done" diff --git a/options.toml b/options.toml index fddeaa8dc1..7c3e51a92b 100644 --- a/options.toml +++ b/options.toml @@ -8,6 +8,10 @@ # # This file was generated by ReVanced Patcher version 4.3.0. +['tiktok-download'] +mediaFolder = "DCIM" +downloadPath = "TikTok" + ['custom-branding'] appName = "YouTube ReVanced" diff --git a/utils.sh b/utils.sh index 5d5d06131f..6cd0eeb3c4 100755 --- a/utils.sh +++ b/utils.sh @@ -295,8 +295,8 @@ build_tiktok() { tiktok_args[is_module]=false tiktok_args[patcher_args]="-r" tiktok_args[arch]="all" - tiktok_args[pkg_name]="com.zhiliaoapp.musically" - tiktok_args[apkmirror_dlurl]="tiktok-pte-ltd/tik-tok-including-musical-ly/tik-tok-including-musical-ly" + tiktok_args[pkg_name]="com.ss.android.ugc.trill" + tiktok_args[apkmirror_dlurl]="tiktok-pte-ltd/tik-tok/tik-tok" #shellcheck disable=SC2034 tiktok_args[regexp]="APK[^@]*@\([^#]*\)"