inotia00 / ReVanced_Extended

ReVanced Extended Issues/Request repo
736 stars 29 forks source link

question: experimental flag doesn't work #2418

Closed AliBASE closed 1 month ago

AliBASE commented 1 month ago

Application

YouTube

Question description

I'm trying to use the --experimental flag on windows cli to patch incompatible version of youtube, but the cli doesn't recognize the experimental flag at all.

Acknowledgements

inotia00 commented 1 month ago

Option --experimental is deprecated since ReVanced CLI 4.0

This option has been replaced by -f or --force since ReVanced CLI 4.0

AliBASE commented 1 month ago

Cli version = 4.6.0 Unknown option: '--force' Usage: revanced-cli [-hV] [COMMAND] Command line application to use ReVanced. -h, --help Show this help message and exit. -V, --version Print version information and exit. Commands: patch Patch an APK file. options Generate options file from patches. list-patches List patches from supplied patch bundles. list-versions List the most common compatible versions of apps that are compatible with the patches in the supplied patch bundles. utility Commands for utility purposes.

inotia00 commented 1 month ago

please type full command

AliBASE commented 1 month ago

java -jar cli.jar --force patch youtube_19.36.44.apk -b patches.jar -m integrations.apk -o "Revanced.apk" -i "GmsCore support"

inotia00 commented 1 month ago

patch must be listed immediately after the CLI

Likes:

java -jar cli.jar patch youtube_19.36.44.apk --force -b patches.jar -m integrations.apk -o "Revanced.apk" -i "GmsCore support"
AliBASE commented 1 month ago

Thank you legend, I'll try that later & let you know if it works.

AliBASE commented 1 month ago

Problem solved, thx!