Compare commits

..

3 Commits

Author SHA1 Message Date
Jobobby04 f206ab8b32 Release 1.11.0 2024-10-27 22:32:00 -04:00
Jobobby04 a443629234 Fix reflection 2024-10-27 14:07:28 -04:00
Jobobby04 3de4711e03 Try this Shizuku fix 2024-10-27 13:34:33 -04:00
6 changed files with 36 additions and 10 deletions
+4 -4
View File
@@ -53,7 +53,7 @@ body:
label: TachiyomiSY version label: TachiyomiSY version
description: You can find your TachiyomiSY version in **More → About**. description: You can find your TachiyomiSY version in **More → About**.
placeholder: | placeholder: |
Example: "1.10.5" Example: "1.11.0"
validations: validations:
required: true required: true
@@ -63,7 +63,7 @@ body:
label: Android version label: Android version
description: You can find this somewhere in your Android settings. description: You can find this somewhere in your Android settings.
placeholder: | placeholder: |
Example: "Android 11" Example: "Android 14"
validations: validations:
required: true required: true
@@ -73,7 +73,7 @@ body:
label: Device label: Device
description: List your device and model. description: List your device and model.
placeholder: | placeholder: |
Example: "Google Pixel 5" Example: "Google Pixel 8"
validations: validations:
required: true required: true
@@ -96,7 +96,7 @@ body:
required: true required: true
- label: I have gone through the [FAQ](https://mihon.app/docs/faq/general) and [troubleshooting guide](https:/mihon.app/docs/guides/troubleshooting/). - label: I have gone through the [FAQ](https://mihon.app/docs/faq/general) and [troubleshooting guide](https:/mihon.app/docs/guides/troubleshooting/).
required: true required: true
- label: I have updated the app to version **[1.10.5](https://github.com/jobobby04/tachiyomisy/releases/latest)**. - label: I have updated the app to version **[1.11.0](https://github.com/jobobby04/tachiyomisy/releases/latest)**.
required: true required: true
- label: I have updated all installed extensions. - label: I have updated all installed extensions.
required: true required: true
+1 -1
View File
@@ -31,7 +31,7 @@ body:
required: true required: true
- label: I have written a short but informative title. - label: I have written a short but informative title.
required: true required: true
- label: I have updated the app to version **[1.10.5](https://github.com/jobobby04/tachiyomisy/releases/latest)**. - label: I have updated the app to version **[1.11.0](https://github.com/jobobby04/tachiyomisy/releases/latest)**.
required: true required: true
- label: I will fill out all of the requested information in this form. - label: I will fill out all of the requested information in this form.
required: true required: true
+2 -2
View File
@@ -30,8 +30,8 @@ android {
defaultConfig { defaultConfig {
applicationId = "eu.kanade.tachiyomi.sy" applicationId = "eu.kanade.tachiyomi.sy"
versionCode = 69 versionCode = 70
versionName = "1.10.5" versionName = "1.11.0"
buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"") buildConfigField("String", "COMMIT_COUNT", "\"${getCommitCount()}\"")
buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"") buildConfigField("String", "COMMIT_SHA", "\"${getGitSha()}\"")
@@ -14,10 +14,12 @@ import kotlinx.coroutines.cancel
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import logcat.LogPriority import logcat.LogPriority
import rikka.shizuku.Shizuku import rikka.shizuku.Shizuku
import rikka.shizuku.ShizukuRemoteProcess
import tachiyomi.core.common.util.system.logcat import tachiyomi.core.common.util.system.logcat
import tachiyomi.i18n.MR import tachiyomi.i18n.MR
import java.io.BufferedReader import java.io.BufferedReader
import java.io.InputStream import java.io.InputStream
import java.lang.reflect.Method
class ShizukuInstaller(private val service: Service) : Installer(service) { class ShizukuInstaller(private val service: Service) : Installer(service) {
@@ -93,9 +95,9 @@ class ShizukuInstaller(private val service: Service) : Installer(service) {
super.onDestroy() super.onDestroy()
} }
private val newProcess: Method
private fun exec(command: String, stdin: InputStream? = null): ShellResult { private fun exec(command: String, stdin: InputStream? = null): ShellResult {
@Suppress("DEPRECATION") val process = newProcess.invoke(null, arrayOf("sh", "-c", command), null, null) as ShizukuRemoteProcess
val process = Shizuku.newProcess(arrayOf("sh", "-c", command), null, null)
if (stdin != null) { if (stdin != null) {
process.outputStream.use { stdin.copyTo(it) } process.outputStream.use { stdin.copyTo(it) }
} }
@@ -122,6 +124,9 @@ class ShizukuInstaller(private val service: Service) : Installer(service) {
service.stopSelf() service.stopSelf()
false false
} }
newProcess = Shizuku::class.java
.getDeclaredMethod("newProcess", Array<out String>::class.java, Array<out String>::class.java, String::class.java)
newProcess.isAccessible = true
} }
} }
@@ -1,5 +1,26 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<changelog bulletedList="true"> <changelog bulletedList="true">
<changelogversion versionName="1.11.0" changeDate="Oct 27,2024">
<changelogtext>[b]Based on Mihon stable 0.17.0(from 0.16.4)[/b]</changelogtext>
<changelogtext>[b]Add Cross-Device Sync (Thanks @kaiserbh)[/b]</changelogtext>
<changelogtext>Add mature to the lewd tag filter(Thanks @gelionexists)</changelogtext>
<changelogtext>Add reset custom manga info (Thanks @LetrixZ)</changelogtext>
<changelogtext>Add multiple tags at once in edit manga info(Thanks @NGB-Was-Taken)</changelogtext>
<changelogtext>Fix sources loading too late for some screens</changelogtext>
<changelogtext>Show Downloaded stage in reader chapter list(Thanks @NGB-Was-Taken)</changelogtext>
<changelogtext>Fix Anilist</changelogtext>
<changelogtext>Fix MAL</changelogtext>
<changelogtext>Add an option to only show entries with new chapters(Thanks @timschneeb)</changelogtext>
<changelogtext>Fix Merged Source chapters not showing source name</changelogtext>
<changelogtext>Use DownloadChapters merged manga setting(Thanks @cuong-tran)</changelogtext>
<changelogtext>Show local chapters as downloaded in Merged Manga(Thanks @NGB-Was-Taken)</changelogtext>
<changelogtext>Fix ExHentai Page List errors</changelogtext>
<changelogtext>Improve E-H/Exh chapter downloading</changelogtext>
<changelogtext>Make manga page preview rows configurable(Thanks @LetrixZ)</changelogtext>
<changelogtext>Use more of Mangadex Extension settings(Thanks @NGB-Was-Taken)</changelogtext>
<changelogtext>Improve Encrypted Downloads(Thanks @Shamicen)</changelogtext>
<changelogtext>Delete duplicate chapters when they are marked as read(Thanks @NGB-Was-Taken)</changelogtext>
</changelogversion>
<changelogversion versionName="1.10.5" changeDate="Mar 2,2024"> <changelogversion versionName="1.10.5" changeDate="Mar 2,2024">
<changelogtext>[b]Based on Mihon stable 0.16.4(from 0.16.3)[/b]</changelogtext> <changelogtext>[b]Based on Mihon stable 0.16.4(from 0.16.3)[/b]</changelogtext>
<changelogtext>Minor fix for mark duplicate chapters as read</changelogtext> <changelogtext>Minor fix for mark duplicate chapters as read</changelogtext>
+1 -1
View File
@@ -4,7 +4,7 @@ leakcanary = "2.14"
moko = "0.24.2" moko = "0.24.2"
okhttp_version = "5.0.0-alpha.14" okhttp_version = "5.0.0-alpha.14"
richtext = "0.20.0" richtext = "0.20.0"
shizuku_version = "13.1.0" shizuku_version = "13.1.5"
sqldelight = "2.0.2" sqldelight = "2.0.2"
sqlite = "2.4.0" sqlite = "2.4.0"
voyager = "1.0.0" voyager = "1.0.0"