Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e2ad380b55 |
@@ -10,6 +10,14 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co
|
||||
- `Fixed` - for any bug fixes.
|
||||
- `Other` - for technical stuff.
|
||||
|
||||
## [Mihon BookMod v0.21.2.1-r16] - 2026-10-20
|
||||
### Changed
|
||||
- Renamed the Gitea repository and app display name from Mihon BookOasis to Mihon BookMod.
|
||||
- Moved release checks and downloads to the mihon-bookmod Gitea repository.
|
||||
- Updated release parsing to support legacy BookOasis version tags and new BookMod version tags.
|
||||
- Bumped the Android version code, preserving the existing application ID and signing configuration.
|
||||
- Retained BookOasis server and extension compatibility (BookOasis is an external service name).
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- Add experimental high quality reader renderer (Settings → Advanced → Use high quality renderer) with better image scaling, page transition animations, dual page view and display cutout handling ([@wwww-wwww](https://github.com/wwww-wwww)) ([#3388](https://github.com/mihonapp/mihon/pull/3388))
|
||||
|
||||
@@ -1,28 +1,33 @@
|
||||
<div align="center">
|
||||
|
||||
<a href="https://mihon.app">
|
||||
<img src="./.github/assets/logo.png" alt="Mihon logo" title="Mihon logo" width="80"/>
|
||||
<a href="https://gitea.derekkoo.win/javara999/mihon-bookmod">
|
||||
<img src="./.github/assets/logo.png" alt="Mihon BookMod" title="Mihon BookMod" width="80"/>
|
||||
</a>
|
||||
|
||||
# Mihon [App](#)
|
||||
# Mihon BookMod
|
||||
|
||||
### Full-featured reader
|
||||
Discover and read manga, webtoons, comics, and more – easier than ever on your Android device.
|
||||
### Mihon-based Android reader with BookOasis support and text-to-speech
|
||||
|
||||
[](https://discord.gg/mihon)
|
||||
[](https://mihon.app/download)
|
||||
|
||||
[](https://github.com/mihonapp/mihon/actions/workflows/build_push.yml)
|
||||
[](/LICENSE)
|
||||
[](https://hosted.weblate.org/engage/mihon/)
|
||||
[Releases](https://gitea.derekkoo.win/javara999/mihon-bookmod/releases) · [Source code](https://gitea.derekkoo.win/javara999/mihon-bookmod) · [Upstream Mihon](https://github.com/mihonapp/mihon)
|
||||
|
||||
## Download
|
||||
|
||||
[](https://mihon.app/download)
|
||||
[](https://mihon.app/download)
|
||||
**Install from [Mihon BookMod releases](https://gitea.derekkoo.win/javara999/mihon-bookmod/releases).** BookMod updates are published to this Gitea repository, not the original Mihon release page.
|
||||
|
||||
*Requires Android 8.0 or higher.*
|
||||
|
||||
## BookMod additions
|
||||
|
||||
* BookOasis integration for opening supported text documents (EPUB, TXT), PDFs, and archives.
|
||||
* Text-viewer typography, side margins, and word/character wrapping options.
|
||||
* Background TTS with playback controls, speed and voice settings, and spoken-text highlighting.
|
||||
* In-app update checks against the BookMod Gitea release feed.
|
||||
|
||||
BookOasis is the name of the compatible server/source integration and remains unchanged.
|
||||
The Android application ID and signing configuration are retained for upgrades from earlier BookOasis-branded builds.
|
||||
|
||||
This is an independent fork of [Mihon](https://github.com/mihonapp/mihon), not an official Mihon release.
|
||||
|
||||
## Features
|
||||
|
||||
<div align="left">
|
||||
@@ -44,10 +49,10 @@ Discover and read manga, webtoons, comics, and more – easier than ever on your
|
||||
|
||||
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
|
||||
|
||||
Before reporting a new issue, take a look at the [FAQ](https://mihon.app/docs/faq/general), the [changelog](https://mihon.app/changelogs/) and the already opened [issues](https://github.com/mihonapp/mihon/issues); if you got any questions, join our [Discord server](https://discord.gg/mihon).
|
||||
For BookMod-specific issues, use the [BookMod issue tracker](https://gitea.derekkoo.win/javara999/mihon-bookmod/issues). For upstream behavior, consult the [Mihon FAQ](https://mihon.app/docs/faq/general) and [upstream issues](https://github.com/mihonapp/mihon/issues).
|
||||
|
||||
|
||||
### Repositories
|
||||
### Upstream Mihon repositories
|
||||
|
||||
[](https://github.com/mihonapp/website/)
|
||||
[](https://github.com/mihonapp/bitmap.kt/)
|
||||
|
||||
@@ -37,8 +37,8 @@ android {
|
||||
defaultConfig {
|
||||
applicationId = "app.mihon"
|
||||
|
||||
versionCode = 38
|
||||
versionName = "0.21.2-bookoasis-r15"
|
||||
versionCode = 39
|
||||
versionName = "0.21.2.1-bookmod-r16"
|
||||
|
||||
buildConfigField("boolean", "TELEMETRY_INCLUDED", "${Config.includeTelemetry}")
|
||||
buildConfigField("boolean", "UPDATER_ENABLED", "${Config.enableUpdater}")
|
||||
|
||||
@@ -26,7 +26,7 @@ class AppUpdateChecker(
|
||||
isNightlyBuildType,
|
||||
BuildConfig.COMMIT_COUNT.toInt(),
|
||||
BuildConfig.VERSION_NAME,
|
||||
BOOKOASIS_REPO,
|
||||
BOOKMOD_REPO,
|
||||
forceCheck,
|
||||
),
|
||||
)
|
||||
@@ -36,8 +36,8 @@ class AppUpdateChecker(
|
||||
}
|
||||
}
|
||||
|
||||
const val BOOKOASIS_REPO = "javara999/mihon-bookoasis"
|
||||
const val BOOKMOD_REPO = "javara999/mihon-bookmod"
|
||||
|
||||
val RELEASE_TAG = "v${BuildConfig.VERSION_NAME}"
|
||||
|
||||
val RELEASE_URL = "https://gitea.derekkoo.win/$BOOKOASIS_REPO/releases/tag/$RELEASE_TAG"
|
||||
val RELEASE_URL = "https://gitea.derekkoo.win/$BOOKMOD_REPO/releases/tag/$RELEASE_TAG"
|
||||
|
||||
@@ -45,7 +45,7 @@ class GetApplicationRelease(
|
||||
if (newPart != oldPart) return newPart > oldPart
|
||||
}
|
||||
|
||||
return latest.bookOasisRevision > current.bookOasisRevision
|
||||
return latest.forkRevision > current.forkRevision
|
||||
}
|
||||
|
||||
private fun parseReleaseVersion(value: String): ReleaseVersion? {
|
||||
@@ -59,7 +59,7 @@ class GetApplicationRelease(
|
||||
|
||||
private data class ReleaseVersion(
|
||||
val components: List<Int>,
|
||||
val bookOasisRevision: Int,
|
||||
val forkRevision: Int,
|
||||
)
|
||||
|
||||
data class Arguments(
|
||||
@@ -73,7 +73,7 @@ class GetApplicationRelease(
|
||||
|
||||
companion object {
|
||||
private val RELEASE_VERSION_REGEX =
|
||||
"""(?:^|v)(\d+(?:\.\d+)+)(?:-bookoasis-r(\d+))?""".toRegex(RegexOption.IGNORE_CASE)
|
||||
"""^v?(\d+(?:\.\d+)+)(?:-(?:bookmod|bookoasis)-r(\d+))?$""".toRegex(RegexOption.IGNORE_CASE)
|
||||
}
|
||||
|
||||
sealed interface Result {
|
||||
|
||||
@@ -73,6 +73,69 @@ class GetApplicationReleaseTest {
|
||||
).release
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Old BookOasis release detects first BookMod update`() = runTest {
|
||||
val release = Release(
|
||||
"v0.21.2.1-bookmod-r16",
|
||||
"info",
|
||||
"https://example.com/release",
|
||||
"https://example.com/bookmod.apk",
|
||||
)
|
||||
coEvery { releaseService.latest(any()) } returns release
|
||||
val result = getApplicationRelease.await(
|
||||
GetApplicationRelease.Arguments(
|
||||
isFoss = false,
|
||||
isNightly = false,
|
||||
commitCount = 0,
|
||||
versionName = "0.21.2-bookoasis-r15",
|
||||
repository = "javara999/mihon-bookmod",
|
||||
),
|
||||
)
|
||||
result shouldBe GetApplicationRelease.Result.NewUpdate(release)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `Installed BookMod release does not prompt for same version`() = runTest {
|
||||
val release = Release(
|
||||
"v0.21.2.1-bookmod-r16",
|
||||
"info",
|
||||
"https://example.com/release",
|
||||
"https://example.com/bookmod.apk",
|
||||
)
|
||||
coEvery { releaseService.latest(any()) } returns release
|
||||
val result = getApplicationRelease.await(
|
||||
GetApplicationRelease.Arguments(
|
||||
isFoss = false,
|
||||
isNightly = false,
|
||||
commitCount = 0,
|
||||
versionName = "0.21.2.1-bookmod-r16",
|
||||
repository = "javara999/mihon-bookmod",
|
||||
),
|
||||
)
|
||||
result shouldBe GetApplicationRelease.Result.NoNewUpdate
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `BookMod revision comparison accepts old naming`() = runTest {
|
||||
val release = Release(
|
||||
"v0.21.2-bookmod-r16",
|
||||
"info",
|
||||
"https://example.com/release",
|
||||
"https://example.com/bookmod.apk",
|
||||
)
|
||||
coEvery { releaseService.latest(any()) } returns release
|
||||
val result = getApplicationRelease.await(
|
||||
GetApplicationRelease.Arguments(
|
||||
isFoss = false,
|
||||
isNightly = false,
|
||||
commitCount = 0,
|
||||
versionName = "0.21.2-bookoasis-r15",
|
||||
repository = "javara999/mihon-bookmod",
|
||||
),
|
||||
)
|
||||
result shouldBe GetApplicationRelease.Result.NewUpdate(release)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `When has no update expect no new update`() = runTest {
|
||||
val release = Release(
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="app_name" translatable="false">Mihon</string>
|
||||
<string name="app_name" translatable="false">Mihon BookMod</string>
|
||||
|
||||
<!-- Generic strings -->
|
||||
<string name="on">On</string>
|
||||
|
||||
Reference in New Issue
Block a user