mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 06:36:31 +09:00
add OpenChangelog
in OsuGame.HandleLink
This commit is contained in:
@ -338,6 +338,17 @@ namespace osu.Game
|
||||
ShowWiki(link.Argument);
|
||||
break;
|
||||
|
||||
case LinkAction.OpenChangelog:
|
||||
if (string.IsNullOrEmpty(link.Argument))
|
||||
ShowChangelogListing();
|
||||
else
|
||||
{
|
||||
var changelogArgs = link.Argument.Split("/");
|
||||
ShowChangelogBuild(changelogArgs[0], changelogArgs[1]);
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
throw new NotImplementedException($"This {nameof(LinkAction)} ({link.Action.ToString()}) is missing an associated action.");
|
||||
}
|
||||
|
Reference in New Issue
Block a user