mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-26 20:21:04 +00:00
Compare commits
4 Commits
v2.171.0
...
v2.172.0-d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dffefeb954 | ||
|
|
1f2def86ad | ||
|
|
211fa6d4e4 | ||
|
|
f46f6efb08 |
@@ -1,3 +1,10 @@
|
|||||||
|
# [2.172.0-dev.1](https://github.com/revanced/revanced-patches/compare/v2.171.0...v2.172.0-dev.1) (2023-04-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **youtube/spoof-app-version:** user selectable version to spoof ([#2013](https://github.com/revanced/revanced-patches/issues/2013)) ([fd66417](https://github.com/revanced/revanced-patches/commit/fd6641747bd60bdd8b967db7cceaed454fb891a1))
|
||||||
|
|
||||||
# [2.171.0](https://github.com/revanced/revanced-patches/compare/v2.170.0...v2.171.0) (2023-04-27)
|
# [2.171.0](https://github.com/revanced/revanced-patches/compare/v2.170.0...v2.171.0) (2023-04-27)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 2.171.0
|
version = 2.172.0-dev.1
|
||||||
|
|||||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
3
gradle/wrapper/gradle-wrapper.properties
vendored
3
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,7 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
|
distributionSha256Sum=e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f
|
||||||
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|||||||
7
gradlew
vendored
7
gradlew
vendored
@@ -85,9 +85,6 @@ done
|
|||||||
APP_BASE_NAME=${0##*/}
|
APP_BASE_NAME=${0##*/}
|
||||||
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
|
||||||
|
|
||||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
|
||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|
||||||
|
|
||||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||||
MAX_FD=maximum
|
MAX_FD=maximum
|
||||||
|
|
||||||
@@ -197,6 +194,10 @@ if "$cygwin" || "$msys" ; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||||
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Collect all arguments for the java command;
|
# Collect all arguments for the java command;
|
||||||
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
|
||||||
# shell script including quotes and variable substitutions, so put them in
|
# shell script including quotes and variable substitutions, so put them in
|
||||||
|
|||||||
870
package-lock.json
generated
870
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,8 @@ import app.revanced.patcher.patch.PatchResult
|
|||||||
import app.revanced.patcher.patch.PatchResultSuccess
|
import app.revanced.patcher.patch.PatchResultSuccess
|
||||||
import app.revanced.patcher.patch.annotations.DependsOn
|
import app.revanced.patcher.patch.annotations.DependsOn
|
||||||
import app.revanced.patcher.patch.annotations.Patch
|
import app.revanced.patcher.patch.annotations.Patch
|
||||||
|
import app.revanced.patches.shared.settings.preference.impl.ArrayResource
|
||||||
|
import app.revanced.patches.shared.settings.preference.impl.ListPreference
|
||||||
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
import app.revanced.patches.shared.settings.preference.impl.StringResource
|
||||||
import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
import app.revanced.patches.shared.settings.preference.impl.SwitchPreference
|
||||||
import app.revanced.patches.youtube.layout.spoofappversion.annotations.SpoofAppVersionCompatibility
|
import app.revanced.patches.youtube.layout.spoofappversion.annotations.SpoofAppVersionCompatibility
|
||||||
@@ -36,11 +38,36 @@ class SpoofAppVersionPatch : BytecodePatch(
|
|||||||
"revanced_spoof_app_version",
|
"revanced_spoof_app_version",
|
||||||
StringResource("revanced_spoof_app_version_title", "Spoof app version"),
|
StringResource("revanced_spoof_app_version_title", "Spoof app version"),
|
||||||
false,
|
false,
|
||||||
StringResource("revanced_spoof_app_version_summary_on", "Version spoofed to 17.30.34"),
|
StringResource("revanced_spoof_app_version_summary_on", "Version spoofed"),
|
||||||
StringResource("revanced_spoof_app_version_summary_off", "Version not spoofed"),
|
StringResource("revanced_spoof_app_version_summary_off", "Version not spoofed"),
|
||||||
StringResource("revanced_spoof_app_version_user_dialog_message",
|
StringResource("revanced_spoof_app_version_user_dialog_message",
|
||||||
"App version will be spoofed to 17.30.34. This will give the old UI layout, but unknown side effects may occur."
|
"App version will be spoofed to an older version of YouTube. This will change the appearance of the app, but unknown side effects may occur."
|
||||||
+ " If later turned off, the old UI layout may remain until you log out or clear the app data.")
|
+ " If later turned off, the old UI may remain until you log out or clear the app data.")
|
||||||
|
),
|
||||||
|
ListPreference(
|
||||||
|
"revanced_spoof_app_version_target",
|
||||||
|
StringResource(
|
||||||
|
"revanced_spoof_app_version_target_title",
|
||||||
|
"Spoof app version target"
|
||||||
|
),
|
||||||
|
ArrayResource(
|
||||||
|
"revanced_spoof_app_version_target_entries",
|
||||||
|
listOf(
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_1", "17.30.35 - Restore old UI layout"),
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_2", "17.01.35 - Enable sorting videos by oldest"),
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_3", "16.20.35 - Disable material you"),
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_4", "16.01.35 - Restore explore tab"),
|
||||||
|
)
|
||||||
|
),
|
||||||
|
ArrayResource(
|
||||||
|
"revanced_spoof_app_version_target_entry_values",
|
||||||
|
listOf(
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_value_1", "17.30.35"),
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_value_2", "17.01.35"),
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_value_3", "16.20.35"),
|
||||||
|
StringResource("revanced_spoof_app_version_target_entry_value_4", "16.01.35"),
|
||||||
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user