mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Update app repo URL
This commit is contained in:
		| @@ -9,9 +9,9 @@ class GithubUpdateChecker { | ||||
|  | ||||
|     private val repo: String by lazy { | ||||
|         if (BuildConfig.DEBUG) { | ||||
|             "tachiyomiorg/android-app-preview" | ||||
|             "tachiyomiorg/tachiyomi-preview" | ||||
|         } else { | ||||
|             "inorichi/tachiyomi" | ||||
|             "tachiyomiorg/tachiyomi" | ||||
|         } | ||||
|     } | ||||
|  | ||||
| @@ -31,11 +31,11 @@ class GithubUpdateChecker { | ||||
|         val newVersion = versionTag.replace("[^\\d.]".toRegex(), "") | ||||
|  | ||||
|         return if (BuildConfig.DEBUG) { | ||||
|             // Preview builds: based on releases in "tachiyomiorg/android-app-preview" repo | ||||
|             // Preview builds: based on releases in "tachiyomiorg/tachiyomi-preview" repo | ||||
|             // tagged as something like "r1234" | ||||
|             newVersion.toInt() > BuildConfig.COMMIT_COUNT.toInt() | ||||
|         } else { | ||||
|             // Release builds: based on releases in "inorichi/tachiyomi" repo | ||||
|             // Release builds: based on releases in "tachiyomiorg/tachiyomi" repo | ||||
|             // tagged as something like "v0.1.2" | ||||
|             newVersion != BuildConfig.VERSION_NAME | ||||
|         } | ||||
|   | ||||
| @@ -16,7 +16,7 @@ class WhatsNewDialogController(bundle: Bundle? = null) : DialogController(bundle | ||||
|             .title(text = activity!!.getString(R.string.updated_version, BuildConfig.VERSION_NAME)) | ||||
|             .positiveButton(android.R.string.ok) | ||||
|             .neutralButton(R.string.whats_new) { | ||||
|                 val url = "https://github.com/inorichi/tachiyomi/releases/tag/v${BuildConfig.VERSION_NAME}" | ||||
|                 val url = "https://github.com/tachiyomiorg/tachiyomi/releases/tag/v${BuildConfig.VERSION_NAME}" | ||||
|                 val intent = Intent(Intent.ACTION_VIEW, url.toUri()) | ||||
|                 startActivity(intent) | ||||
|             } | ||||
|   | ||||
| @@ -72,9 +72,9 @@ class AboutController : SettingsController() { | ||||
|  | ||||
|             onClick { | ||||
|                 val url = if (BuildConfig.DEBUG) { | ||||
|                     "https://github.com/inorichi/tachiyomi/commits/dev" | ||||
|                     "https://github.com/tachiyomiorg/tachiyomi/commits/dev" | ||||
|                 } else { | ||||
|                     "https://github.com/inorichi/tachiyomi/releases/tag/v${BuildConfig.VERSION_NAME}" | ||||
|                     "https://github.com/tachiyomiorg/tachiyomi/releases/tag/v${BuildConfig.VERSION_NAME}" | ||||
|                 } | ||||
|  | ||||
|                 val intent = Intent(Intent.ACTION_VIEW, url.toUri()) | ||||
| @@ -87,7 +87,7 @@ class AboutController : SettingsController() { | ||||
|                 titleRes = R.string.notices | ||||
|  | ||||
|                 onClick { | ||||
|                     val intent = Intent(Intent.ACTION_VIEW, "https://github.com/inorichi/tachiyomi/blob/dev/PREVIEW_RELEASE_NOTES.md".toUri()) | ||||
|                     val intent = Intent(Intent.ACTION_VIEW, "https://github.com/tachiyomiorg/tachiyomi/blob/dev/PREVIEW_RELEASE_NOTES.md".toUri()) | ||||
|                     startActivity(intent) | ||||
|                 } | ||||
|             } | ||||
| @@ -117,7 +117,7 @@ class AboutController : SettingsController() { | ||||
|             preference { | ||||
|                 key = "pref_about_github" | ||||
|                 title = "GitHub" | ||||
|                 val url = "https://github.com/inorichi/tachiyomi" | ||||
|                 val url = "https://github.com/tachiyomiorg/tachiyomi" | ||||
|                 summary = url | ||||
|                 onClick { | ||||
|                     val intent = Intent(Intent.ACTION_VIEW, url.toUri()) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user