mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-01-16 23:02:23 -08:00
Update module download pipeline
This commit is contained in:
@@ -37,6 +37,10 @@ interface GithubRawApiServices {
|
||||
@Streaming
|
||||
fun fetchBootctl(@Path(REVISION) revision: String = Const.BOOTCTL_REVISION): Single<ResponseBody>
|
||||
|
||||
@GET("$MAGISK_MASTER/scripts/module_installer.sh")
|
||||
@Streaming
|
||||
fun fetchInstaller(): Single<ResponseBody>
|
||||
|
||||
//endregion
|
||||
|
||||
/**
|
||||
|
||||
@@ -8,4 +8,6 @@ class FileRepository(
|
||||
|
||||
fun downloadFile(url: String) = api.fetchFile(url)
|
||||
|
||||
fun downloadInstaller() = api.fetchInstaller()
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user