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