diff --git a/core/src/com/unciv/logic/github/GithubAPI.kt b/core/src/com/unciv/logic/github/GithubAPI.kt index 0ed10f7693..214cac2dea 100644 --- a/core/src/com/unciv/logic/github/GithubAPI.kt +++ b/core/src/com/unciv/logic/github/GithubAPI.kt @@ -194,7 +194,7 @@ object GithubAPI { if (matchZip != null && matchZip.groups.size > 4) return processMatch(matchZip) - val matchBranch = Regex("""^(.*/(.*)/(.*))/tree/([^/]+)$""").matchEntire(url) + val matchBranch = Regex("""^(.*/(.*)/(.*))/tree/(.*)$""").matchEntire(url) if (matchBranch != null && matchBranch.groups.size > 4) return processMatch(matchBranch)