Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Bump to 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-TSNG committed Aug 3, 2022
1 parent 10fa404 commit af58988
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
val properties = Properties()
properties.load(project.rootProject.file("local.properties").inputStream())

val verName = "1.3"
val verName = "1.4"
val gitCommitCount = "git rev-list HEAD --count".execute().toInt()
val gitCommitHash = "git rev-parse --verify --short HEAD".execute()

Expand All @@ -24,12 +24,12 @@ fun String.execute(currentWorkingDir: File = file("./")): String {
}

android {
compileSdk = 32
compileSdk = 33

defaultConfig {
applicationId = "icu.nullptr.twifucker"
minSdk = 24
targetSdk = 32
targetSdk = 33
versionCode = gitCommitCount
versionName = verName

Expand Down Expand Up @@ -100,7 +100,7 @@ afterEvaluate {
}

dependencies {
implementation("com.github.kyuubiran:EzXHelper:0.9.9")
implementation("com.github.kyuubiran:EzXHelper:1.0.0")

compileOnly("de.robv.android.xposed:api:82")
}
2 changes: 1 addition & 1 deletion app/src/main/java/icu/nullptr/twifucker/hook/HookEntry.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class HookEntry : IXposedHookZygoteInit, IXposedHookLoadPackage {
settingsActivityHook()
urlHook()
altTextHook()
if (modulePrefs.getBoolean("enable_legacy_hook", false)) {
if (modulePrefs.getBoolean("use_legacy_hook", false)) {
jsonHook()
} else {
timelineEntryHook()
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<string name="about_title">TwiFucker by Nullptr</string>
<string name="show_toast_title">Show Toast on Start</string>
<string name="enable_legacy_hook">Enable legacy hook</string>
<string name="use_legacy_hook">Use legacy hook</string>
<string name="disable_promoted_content_title">Disable Promoted Content</string>
<string name="disable_promoted_user_title">Disable Promoted User</string>
<string name="disable_promoted_trends_title">Disable Promoted Trends</string>
Expand All @@ -20,7 +20,7 @@

<string name="about_summary">Visit the GitHub page for more support</string>
<string name="show_toast_summary">You can find this page through settings/additional/version</string>
<string name="enable_legacy_hook_summary">Legacy hook which process JSON string</string>
<string name="use_legacy_hook_summary">Use legacy hook method of processing JSON string</string>
<string name="disable_promoted_content_summary">home/profile/search timeline</string>
<string name="disable_promoted_user_summary">home/profile/search timeline</string>
<string name="disable_promoted_trends_summary">search</string>
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/xml/settings_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<PreferenceCategory android:title="@string/settings_main">
<SwitchPreference
android:defaultValue="false"
android:key="enable_legacy_hook"
android:summary="@string/enable_legacy_hook_summary"
android:title="@string/enable_legacy_hook" />
android:key="use_legacy_hook"
android:summary="@string/use_legacy_hook_summary"
android:title="@string/use_legacy_hook" />
<SwitchPreference
android:defaultValue="true"
android:key="disable_promoted_content"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pluginManagement {
mavenCentral()
}
plugins {
id("org.jetbrains.kotlin.android") version "1.7.0"
id("org.jetbrains.kotlin.android") version "1.7.10"
}
}

Expand Down

0 comments on commit af58988

Please sign in to comment.