add mode and global rank to rpc

This commit is contained in:
2024-03-16 18:48:44 +01:00
parent a9de377456
commit 1c4a40c495
2 changed files with 32 additions and 0 deletions

View File

@@ -10,6 +10,16 @@ const checkUpdateURL =
const ignoredOsuEntities = [
"osu!auth.dll",
];
const gamemodes = {
0: "osu!",
1: "taiko",
2: "catch",
3: "mania",
4: "osu!(rx)",
5: "taiko(rx)",
6: "catch(rx)",
8: "osu!(ap)"
}
const osuEntities = [
"avcodec-51.dll",
"avformat-52.dll",
@@ -481,4 +491,5 @@ module.exports = {
findOsuInstallation,
updateOsuConfigHashes,
runOsuUpdater,
gamemodes
};