chore: add platform check

This commit is contained in:
2025-07-07 15:26:20 +02:00
parent 6d2d5de6d2
commit 3dc62a060e
4 changed files with 39 additions and 3 deletions

View File

@@ -113,3 +113,4 @@ export const isOsuRunning = async () => {
export const getLauncherVersion = async () => await invoke<string>('get_launcher_version');
export const exit = async () => await invoke('exit');
export const getPlatform = async () => await invoke<string>('get_platform');