feat: add linux support with osu-winello

This commit is contained in:
2025-07-12 22:56:15 +02:00
parent 5aec2d8245
commit 1a563e64d5
9 changed files with 117 additions and 24 deletions

View File

@@ -6,6 +6,8 @@ import type { Release } from './types';
export const currentView = writable<Component>(Loading);
export const platform = writable<string>("");
export const launcherVersion = writable<string>('');
export const newVersion = writable<Release | undefined>(undefined);

View File

@@ -116,3 +116,7 @@ export const exit = async () => await invoke('exit');
export const getPlatform = async () => await invoke<string>('get_platform');
export const isOsuCorrupted = async (folder: string) =>
await invoke<boolean>('check_for_corruption', { folder });
export const hasWMCTRL = async () =>
await invoke<boolean>('has_wmctrl');
export const hasOsuWinello = async () =>
await invoke<boolean>('has_osuwinello');