Skip to content

Commit d9b2199

Browse files
committed
refactor(url): point to pixincreate/magisk
this commit also removes stable download url for stub apk since this fork only builds canary
1 parent eaf9527 commit d9b2199

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/core/src/main/java/com/topjohnwu/magisk/core/Const.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ object Const {
4343
const val SOURCE_CODE_URL = "https://github.com/topjohnwu/Magisk"
4444

4545
const val GITHUB_API_URL = "https://api.github.com/"
46-
const val GITHUB_PAGE_URL = "https://topjohnwu.github.io/magisk-files/"
46+
const val GITHUB_PAGE_URL = "https://pixincreate.github.io/Magisk/"
4747
const val INVALID_URL = "https://example.com/"
4848
}
4949

app/core/src/main/java/com/topjohnwu/magisk/core/data/RetrofitInterfaces.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface GithubApiServices {
3333
@GET("/repos/{owner}/{repo}/releases")
3434
@Headers("Accept: application/vnd.github+json")
3535
suspend fun fetchReleases(
36-
@Path("owner") owner: String = "topjohnwu",
36+
@Path("owner") owner: String = "pixincreate",
3737
@Path("repo") repo: String = "Magisk",
3838
@Query("per_page") per: Int = 10,
3939
@Query("page") page: Int = 1,
@@ -42,7 +42,7 @@ interface GithubApiServices {
4242
@GET("/repos/{owner}/{repo}/releases/latest")
4343
@Headers("Accept: application/vnd.github+json")
4444
suspend fun fetchLatestRelease(
45-
@Path("owner") owner: String = "topjohnwu",
45+
@Path("owner") owner: String = "pixincreate",
4646
@Path("repo") repo: String = "Magisk",
4747
): Release
4848
}

app/stub/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ android {
1313
namespace = "com.topjohnwu.magisk"
1414

1515
val canary = !Config.version.contains(".")
16-
val base = "https://github.com/topjohnwu/Magisk/releases/download/"
16+
val base = "https://github.com/pixincreate/Magisk/releases/download/"
1717
val url = base + "v${Config.version}/Magisk-v${Config.version}.apk"
1818
val canaryUrl = base + "canary-${Config.versionCode}/"
1919

0 commit comments

Comments
 (0)