mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
added prebuild repository.
This commit is contained in:
parent
8e23862068
commit
0498ffd398
1 changed files with 7 additions and 1 deletions
|
@ -71,7 +71,13 @@ data class SitePlugin(
|
||||||
object RepositoryManager {
|
object RepositoryManager {
|
||||||
const val ONLINE_PLUGINS_FOLDER = "Extensions"
|
const val ONLINE_PLUGINS_FOLDER = "Extensions"
|
||||||
val PREBUILT_REPOSITORIES: Array<RepositoryData> by lazy {
|
val PREBUILT_REPOSITORIES: Array<RepositoryData> by lazy {
|
||||||
getKey("PREBUILT_REPOSITORIES") ?: emptyArray()
|
getKey("PREBUILT_REPOSITORIES") ?:
|
||||||
|
arrayOf(
|
||||||
|
RepositoryData(
|
||||||
|
name = "піратити це - погано, ризикуєш? :)",
|
||||||
|
url = "https://raw.githubusercontent.com/3a4oT/cloudstream-extensions-uk/master/repo.json"
|
||||||
|
)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
private val GH_REGEX = Regex("^https://raw.githubusercontent.com/([A-Za-z0-9-]+)/([A-Za-z0-9_.-]+)/(.*)$")
|
private val GH_REGEX = Regex("^https://raw.githubusercontent.com/([A-Za-z0-9-]+)/([A-Za-z0-9_.-]+)/(.*)$")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue