chore: update version to 3.2.7 and refactor skin handling functions

This commit is contained in:
HorizonCode committed 2026-08-09 23:24:50 +02:00
1 parent 5a06700748
commit 01628e8514
10 files changed
+45 -120

No files matched your search

+2 -5
View File
@@ -141,11 +141,8 @@ export const downloadUpdate = async (
}
};
export const installUpdate = async () => await invoke('install_ezpp_launcher_update');
export const getSkins = async (folder: string) =>
await invoke<{ name: string; author: string | undefined; modified: number }[] | undefined>(
'get_skins',
{ folder }
);
export const getSkinsCount = async (folder: string) =>
await invoke<number | undefined>('get_skins_count', { folder });
export const startOpenTabletDriver = async (otdDaemonPath: string) =>
await invoke('run_open_tablet_driver', { path: otdDaemonPath });
export const stopOpenTabletDriver = async () => await invoke('stop_open_tablet_driver');