Generate repo name at build time
This commit is contained in:
1 parent
4ca7b6b11c
commit
fb6cb8d3fb
2 files changed
+15
-3
No files matched your search
@@ -54,9 +54,10 @@ import tachiyomi.data.release.GithubWorkflowRuns
|
||||
import java.io.File
|
||||
import java.util.zip.ZipInputStream
|
||||
|
||||
private const val REPO_URL = "https://github.com/Ehviewer-Overhauled/Ehviewer"
|
||||
private const val API_URL = "https://api.github.com/repos/Ehviewer-Overhauled/Ehviewer"
|
||||
private const val RELEASE_URL = "https://github.com/Ehviewer-Overhauled/Ehviewer/releases"
|
||||
private const val REPO_NAME = BuildConfig.REPO_NAME
|
||||
private const val REPO_URL = "https://github.com/$REPO_NAME"
|
||||
private const val API_URL = "https://api.github.com/repos/$REPO_NAME"
|
||||
private const val RELEASE_URL = "$REPO_URL/releases"
|
||||
|
||||
@Composable
|
||||
@Stable
|
||||
|
||||
Reference in new issue
Block a user