rename repo
This commit is contained in:
parent
2c5cc8ef19
commit
d127ce9805
10 changed files with 11 additions and 18 deletions
|
|
@ -1816,7 +1816,7 @@
|
|||
],
|
||||
"tarball_url": "https://api.github.com/repos/komikku-app/komikku-preview/tarball/r9312",
|
||||
"zipball_url": "https://api.github.com/repos/komikku-app/komikku-preview/zipball/r9312",
|
||||
"body": "## What's Changed\r\n### New\r\n- Showing source icon in library (@cuong-tran)\r\n- Use language flags (@cuong-tran)\r\n- Bulk-merging multiple library entries (@cuong-tran)\r\n- Ability to enable/disable repo (@cuong-tran)\r\n- Show repo icon for Komikku & Keiyoushi (@cuong-tran)\r\n- Custom themes (@kana-shii)\r\n- Allow sync Feeds & extension-repo settings (@cuong-tran)\r\n- Add `show entry` action to download notifications (@mm12)\r\n- Add option to skip downloading duplicate read chapters (@shabnix)\r\n- Delete duplicate downloaded chapters when they are automatically marked as read (@NGB-Was-Taken)\r\n- Remove the `UNOFFICIAL` status, remove built-in Komikku repo, instead allow adding it as default (@cuong-tran)\r\n\r\n### Improve\r\n- Show same extension from multiple repos & show their repo's name (@cuong-tran)\r\n- Rename Related Titles to *Suggestions* (@cuong-tran)\r\n- Add more auto backup hours (@kana-shii)\r\n- Add option to update library each 6 hours (@kana-shii)\r\n- Back-button on pre-migration source (@cuong-tran)\r\n- Don't expand description on the manga while merging (@cuong-tran)\r\n- Hide keyboard when a Tracker SearchResultItem is clicked (@Animeboynz)\r\n- Move dropdown menu to correct position (@cuong-tran)\r\n- Add extensions list refresh menu (@cuong-tran)\r\n- Add confirmation when adding repo via URI (@Animeboynz)\r\n- Respect privacy settings in extension update notification (@Animeboynz)\r\n- Option to not backup Saved searches & Feeds (@cuong-tran)\r\n- Change Reader's open-in-browser icon to Explore (@cuong-tran)\r\n\r\n### Fix\r\n- Smart library updates now will honor the 'Skip Completed' option (@kana-shii)\r\n- Setting to hide home button while browsing *Suggestions* (@cuong-tran)\r\n\r\n**Full Changelog**: https://github.com/komikku-app/komikku/compare/r9234...r9312\r\n\r\n---\r\n\r\n### Checksums\r\n\r\n| Variant | SHA-256 |\r\n| ------- | ------- |\r\n| Universal | d927918758873a46795e5b78eafaead379738b08b431a085c88448bfdf2debd9 |\r\n| arm64-v8a | 254f6825ebcba7b4564b92b8597cf86418c2371debb224deba5516f6be01aaf2 |\r\n| armeabi-v7a | f2c4f8f90a6b7a38744c5a61f78b370da9d06a3ef90c4a83ffe2b2ef02a8148c |\r\n| x86 | dd86615e5187f792e78ff73d4209c649d2107b3c035d0c4a377d6db3cdc21b93 |\r\n| x86_64 | 17da88f2e37609f460907f798edd9f9c3f166d6f7382d7092c6c37ce6175dd7c |\r\n\r\n### If you are unsure which apk to download then go with `Komikku-r9312.apk`\r\n",
|
||||
"body": "## What's Changed\r\n### New\r\n- Showing source icon in library (@cuong-tran)\r\n- Use language flags (@cuong-tran)\r\n- Bulk-merging multiple library entries (@cuong-tran)\r\n- Ability to enable/disable repo (@cuong-tran)\r\n- Show repo icon for Repo (@cuong-tran)\r\n- Custom themes (@kana-shii)\r\n- Allow sync Feeds & extension-repo settings (@cuong-tran)\r\n- Add `show entry` action to download notifications (@mm12)\r\n- Add option to skip downloading duplicate read chapters (@shabnix)\r\n- Delete duplicate downloaded chapters when they are automatically marked as read (@NGB-Was-Taken)\r\n- Remove the `UNOFFICIAL` status, remove built-in Komikku repo, instead allow adding it as default (@cuong-tran)\r\n\r\n### Improve\r\n- Show same extension from multiple repos & show their repo's name (@cuong-tran)\r\n- Rename Related Titles to *Suggestions* (@cuong-tran)\r\n- Add more auto backup hours (@kana-shii)\r\n- Add option to update library each 6 hours (@kana-shii)\r\n- Back-button on pre-migration source (@cuong-tran)\r\n- Don't expand description on the manga while merging (@cuong-tran)\r\n- Hide keyboard when a Tracker SearchResultItem is clicked (@Animeboynz)\r\n- Move dropdown menu to correct position (@cuong-tran)\r\n- Add extensions list refresh menu (@cuong-tran)\r\n- Add confirmation when adding repo via URI (@Animeboynz)\r\n- Respect privacy settings in extension update notification (@Animeboynz)\r\n- Option to not backup Saved searches & Feeds (@cuong-tran)\r\n- Change Reader's open-in-browser icon to Explore (@cuong-tran)\r\n\r\n### Fix\r\n- Smart library updates now will honor the 'Skip Completed' option (@kana-shii)\r\n- Setting to hide home button while browsing *Suggestions* (@cuong-tran)\r\n\r\n**Full Changelog**: https://github.com/komikku-app/komikku/compare/r9234...r9312\r\n\r\n---\r\n\r\n### Checksums\r\n\r\n| Variant | SHA-256 |\r\n| ------- | ------- |\r\n| Universal | d927918758873a46795e5b78eafaead379738b08b431a085c88448bfdf2debd9 |\r\n| arm64-v8a | 254f6825ebcba7b4564b92b8597cf86418c2371debb224deba5516f6be01aaf2 |\r\n| armeabi-v7a | f2c4f8f90a6b7a38744c5a61f78b370da9d06a3ef90c4a83ffe2b2ef02a8148c |\r\n| x86 | dd86615e5187f792e78ff73d4209c649d2107b3c035d0c4a377d6db3cdc21b93 |\r\n| x86_64 | 17da88f2e37609f460907f798edd9f9c3f166d6f7382d7092c6c37ce6175dd7c |\r\n\r\n### If you are unsure which apk to download then go with `Komikku-r9312.apk`\r\n",
|
||||
"reactions": {
|
||||
"url": "https://api.github.com/repos/komikku-app/komikku-preview/releases/172624000/reactions",
|
||||
"total_count": 6,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -36,8 +36,8 @@ import eu.kanade.tachiyomi.R
|
|||
import eu.kanade.tachiyomi.util.system.copyToClipboard
|
||||
import kotlinx.collections.immutable.ImmutableSet
|
||||
import kotlinx.collections.immutable.persistentSetOf
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.KEIYOUSHI_SIGNATURE
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.KOMIKKU_SIGNATURE
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.REPO_SIGNATURE
|
||||
import mihon.domain.extensionrepo.model.ExtensionRepo
|
||||
import tachiyomi.i18n.MR
|
||||
import tachiyomi.presentation.core.components.material.padding
|
||||
|
|
@ -183,7 +183,7 @@ private fun ExtensionRepoListItem(
|
|||
// KMK -->
|
||||
fun repoResId(signKey: String) = when (signKey) {
|
||||
KOMIKKU_SIGNATURE -> R.mipmap.komikku
|
||||
KEIYOUSHI_SIGNATURE -> R.mipmap.keiyoushi
|
||||
REPO_SIGNATURE -> R.mipmap.repo
|
||||
else -> R.mipmap.extension
|
||||
}
|
||||
|
||||
|
|
@ -192,7 +192,7 @@ fun repoResId(signKey: String) = when (signKey) {
|
|||
fun ExtensionReposContentPreview() {
|
||||
val repos = persistentSetOf(
|
||||
ExtensionRepo("https://repo", "Komikku", "", "", KOMIKKU_SIGNATURE),
|
||||
ExtensionRepo("https://repo", "Keiyoushi", "", "", KEIYOUSHI_SIGNATURE),
|
||||
ExtensionRepo("https://repo", "Repo", "", "", REPO_SIGNATURE),
|
||||
ExtensionRepo("https://repo", "Other", "", "", "key2"),
|
||||
)
|
||||
ExtensionReposContent(
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@ import eu.kanade.presentation.components.AppBar
|
|||
import eu.kanade.presentation.more.settings.screen.browse.RepoScreenState
|
||||
import eu.kanade.tachiyomi.util.system.openInBrowser
|
||||
import kotlinx.collections.immutable.persistentSetOf
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.KEIYOUSHI_SIGNATURE
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.KOMIKKU_SIGNATURE
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.REPO_HELP
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.REPO_SIGNATURE
|
||||
import mihon.domain.extensionrepo.model.ExtensionRepo
|
||||
import tachiyomi.i18n.MR
|
||||
import tachiyomi.presentation.core.components.material.Scaffold
|
||||
|
|
@ -117,7 +117,7 @@ private fun ExtensionReposScreenPreview() {
|
|||
val state = RepoScreenState.Success(
|
||||
repos = persistentSetOf(
|
||||
ExtensionRepo("https://repo", "Komikku", "", "", KOMIKKU_SIGNATURE),
|
||||
ExtensionRepo("https://repo", "Keiyoushi", "", "", KEIYOUSHI_SIGNATURE),
|
||||
ExtensionRepo("https://repo", "Repo", "", "", REPO_SIGNATURE),
|
||||
ExtensionRepo("https://repo", "Other", "", "", "key2"),
|
||||
),
|
||||
disabledRepos = setOf("https://repo"),
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ import kotlinx.coroutines.async
|
|||
import kotlinx.coroutines.awaitAll
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import logcat.LogPriority
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.KEIYOUSHI_SIGNATURE
|
||||
import mihon.domain.extensionrepo.interactor.CreateExtensionRepo.Companion.KOMIKKU_SIGNATURE
|
||||
import mihon.domain.extensionrepo.interactor.GetExtensionRepo
|
||||
import mihon.domain.extensionrepo.model.ExtensionRepo
|
||||
|
|
@ -292,7 +291,6 @@ internal object ExtensionLoader {
|
|||
// KMK -->
|
||||
repoName = when {
|
||||
isOfficiallySigned(signatures) -> "Komikku"
|
||||
isKeiyoushiSigned(signatures) -> "Keiyoushi"
|
||||
else -> repos.firstOrNull { repo ->
|
||||
signatures.all { it == repo.signingKeyFingerprint }
|
||||
}?.name
|
||||
|
|
@ -364,7 +362,6 @@ internal object ExtensionLoader {
|
|||
signatureHash = signatures.last(),
|
||||
repoName = when {
|
||||
isOfficiallySigned(signatures) -> "Komikku"
|
||||
isKeiyoushiSigned(signatures) -> "Keiyoushi"
|
||||
else -> repos.firstOrNull { repo ->
|
||||
signatures.all { it == repo.signingKeyFingerprint }
|
||||
}?.name
|
||||
|
|
@ -431,10 +428,6 @@ internal object ExtensionLoader {
|
|||
return signatures.all { it == KOMIKKU_SIGNATURE }
|
||||
}
|
||||
|
||||
private fun isKeiyoushiSigned(signatures: List<String>): Boolean {
|
||||
return signatures.all { it == KEIYOUSHI_SIGNATURE }
|
||||
}
|
||||
|
||||
/**
|
||||
* On Android 13+ the ApplicationInfo generated by getPackageArchiveInfo doesn't
|
||||
* have sourceDir which breaks assets loading (used for getting icon here).
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
|
@ -161,7 +161,7 @@
|
|||
<changelogtext>[b]New:[/b] Use language flags</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Bulk-merging multiple library entries</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Ability to enable/disable repo</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Show repo icon for Komikku & Keiyoushi</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Show repo icon for Repo</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Custom themes</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Allow sync Feeds & extension-repo settings</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Add 'show entry' action to download notifications</changelogtext>
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@
|
|||
<changelogtext>[b]New:[/b] Use language flags</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Bulk-merging multiple library entries</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Ability to enable/disable repo</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Show repo icon for Komikku & Keiyoushi</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Show repo icon for Repo</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Custom themes</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Allow sync Feeds & extension-repo settings</changelogtext>
|
||||
<changelogtext>[b]New:[/b] Add 'show entry' action to download notifications</changelogtext>
|
||||
|
|
|
|||
|
|
@ -75,6 +75,6 @@ class CreateExtensionRepo(
|
|||
|
||||
// cuong-tran's key
|
||||
const val KOMIKKU_SIGNATURE = "cbec121aa82ebb02aaa73806992e0368a97d47b5451ed6524816d03084c45905"
|
||||
const val KEIYOUSHI_SIGNATURE = "9add655a78e96c4ec7a53ef89dccb557cb5d767489fac5e785d671a5a75d4da2"
|
||||
const val REPO_SIGNATURE = "9add655a78e96c4ec7a53ef89dccb557cb5d767489fac5e785d671a5a75d4da2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue