feat: add osu skin retrieval functionality and integrate into loading and setup processes

This commit is contained in:
2025-07-04 10:16:51 +02:00
parent 8c5e7ca6f2
commit 41608afae2
6 changed files with 53 additions and 11 deletions

View File

@@ -4,6 +4,7 @@
import {
beatmapSets,
currentLoadingInfo,
currentSkin,
currentView,
firstStartup,
osuBuild,
@@ -136,6 +137,10 @@
folder: $osuInstallationPath,
});
if (skinCount) skins.set(skinCount);
const skin: string = await invoke('get_osu_skin', {
folder: $osuInstallationPath,
});
currentSkin.set(skin);
}
}