chore: add validation for OpenTabletDriver path and improve process handling

This commit is contained in:
HorizonCode committed 2026-05-27 19:31:53 +02:00
1 parent ace3320632
commit 3a27646da8
4 files changed
+66 -23

No files matched your search

+2
View File
@@ -150,3 +150,5 @@ export const startOpenTabletDriver = async (otdDaemonPath: string) =>
await invoke('run_open_tablet_driver', { path: otdDaemonPath });
export const stopOpenTabletDriver = async () => await invoke('stop_open_tablet_driver');
export const isOpenTabletDriverRunning = async () => await invoke('is_open_tablet_driver_running');
export const isOpenTabletDriverPathValid = async (path: string) =>
await invoke('is_open_tablet_driver_path_valid', { path });