Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
351917cbbd | ||
|
|
7062792215 |
@@ -1,3 +1,9 @@
|
||||
## [1.1.2](https://git.krtss.de/StanPonomarev/twitter-patch/compare/v1.1.1...v1.1.2) (2026-08-22)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
* manifest ([7062792](https://git.krtss.de/StanPonomarev/twitter-patch/commit/7062792215590cce79caa6e78354ee73375eaa79))
|
||||
|
||||
## [1.1.1](https://git.krtss.de/StanPonomarev/twitter-patch/compare/v1.1.0...v1.1.1) (2026-08-21)
|
||||
|
||||
### 🐛 Bug Fixes
|
||||
|
||||
@@ -4,7 +4,7 @@ Patch bundle for X (Twitter), maintained by
|
||||
[Stan Ponomarev](https://git.krtss.de/StanPonomarev).
|
||||
|
||||
<!-- PATCHES_START -->
|
||||
> **[v1.1.1](https://git.krtss.de/StanPonomarev/twitter-patch/releases/tag/v1.1.1)** • `main` • 2 patches total
|
||||
> **[v1.1.2](https://git.krtss.de/StanPonomarev/twitter-patch/releases/tag/v1.1.2)** • `main` • 2 patches total
|
||||
<details open>
|
||||
<summary>📦 X • 2 patches</summary>
|
||||
<br>
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
org.gradle.parallel = true
|
||||
org.gradle.caching = true
|
||||
kotlin.code.style = official
|
||||
version = 1.1.1
|
||||
version = 1.1.2
|
||||
|
||||
+4
-4
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"created_at": "2026-08-21T23:29:59",
|
||||
"description": "## [1.1.1](https://git.krtss.de/StanPonomarev/twitter-patch/compare/v1.1.0...v1.1.1) (2026-08-21)\n\n### 🐛 Bug Fixes\n\n* update screen ([cb1230a](https://git.krtss.de/StanPonomarev/twitter-patch/commit/cb1230a7abf46edb11f2b8dad100b091dd672aee))",
|
||||
"download_url": "https://git.krtss.de/StanPonomarev/twitter-patch/releases/download/v1.1.1/patches-1.1.1.mpp",
|
||||
"created_at": "2026-08-22T08:27:42",
|
||||
"description": "## [1.1.2](https://git.krtss.de/StanPonomarev/twitter-patch/compare/v1.1.1...v1.1.2) (2026-08-22)\n\n### 🐛 Bug Fixes\n\n* manifest ([7062792](https://git.krtss.de/StanPonomarev/twitter-patch/commit/7062792215590cce79caa6e78354ee73375eaa79))",
|
||||
"download_url": "https://git.krtss.de/StanPonomarev/twitter-patch/releases/download/v1.1.2/patches-1.1.2.mpp",
|
||||
"signature_download_url": "",
|
||||
"version": "1.1.1"
|
||||
"version": "1.1.2"
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"NOTE": "Do NOT manually edit this file. This file is automatically updated when semantic release (release.yml) runs. Manually editing this file can break your releases and break third party tools that use this file.",
|
||||
"version": "1.1.1",
|
||||
"version": "1.1.2",
|
||||
"patches": [
|
||||
{
|
||||
"name": "Disable outdated version screen",
|
||||
|
||||
@@ -58,8 +58,6 @@ private val shutdownStateFingerprint = Fingerprint(
|
||||
)
|
||||
|
||||
private const val APP_UPDATE_ACTIVITY = "com.twitter.clientshutdown.update.AppUpdateActivity"
|
||||
private const val APP_UPDATE_ACTIVITY_ALIAS = "com.twitter.clientshutdown.update.AppUpdateActivityAlias"
|
||||
private const val START_ACTIVITY = "com.twitter.android.StartActivity"
|
||||
|
||||
private val disableOutdatedVersionActivityPatch = resourcePatch {
|
||||
execute {
|
||||
@@ -73,16 +71,6 @@ private val disableOutdatedVersionActivityPatch = resourcePatch {
|
||||
.single { it.getAttribute("android:name") == APP_UPDATE_ACTIVITY }
|
||||
}
|
||||
appUpdateActivity.setAttribute("android:enabled", "false")
|
||||
|
||||
val appUpdateActivityAlias = document.getElementsByTagName("activity-alias")
|
||||
.let { aliases ->
|
||||
(0 until aliases.length)
|
||||
.asSequence()
|
||||
.map { aliases.item(it) }
|
||||
.filterIsInstance<Element>()
|
||||
.single { it.getAttribute("android:name") == APP_UPDATE_ACTIVITY_ALIAS }
|
||||
}
|
||||
appUpdateActivityAlias.setAttribute("android:targetActivity", START_ACTIVITY)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -96,7 +84,6 @@ val disableOutdatedVersionScreenPatch = bytecodePatch(
|
||||
compatibleWith(COMPATIBILITY_X)
|
||||
dependsOn(disableOutdatedVersionActivityPatch)
|
||||
|
||||
|
||||
execute {
|
||||
forceUpdateNavigationFingerprint.method.addInstructions(
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user