From 7d2322e637faae5ccfab58c54f7a13e6a5f7ea88 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Fri, 26 Sep 2025 12:16:22 -0400 Subject: feat: first arg steam path start, second mirror first --- src/api/index.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/api/index.ts') diff --git a/src/api/index.ts b/src/api/index.ts index 11e4213..1cc3285 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -21,3 +21,8 @@ export const listInstalledGames = callable< >("list_installed_games"); export const logError = callable<[string], void>("log_error"); + +export const getPathDefaults = callable< + [], + { home: string; steam_common?: string } +>("get_path_defaults"); -- cgit v1.2.3 From 1cc6a781fe7d6c053b2eb59aa79766a859c66209 Mon Sep 17 00:00:00 2001 From: xXJSONDeruloXx Date: Fri, 26 Sep 2025 20:14:44 -0400 Subject: revised approach, pick dir then patch in plugin ui itself --- src/api/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/api/index.ts') diff --git a/src/api/index.ts b/src/api/index.ts index 1cc3285..df52fee 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -26,3 +26,13 @@ export const getPathDefaults = callable< [], { home: string; steam_common?: string } >("get_path_defaults"); + +export const runManualPatch = callable< + [string], + { status: string; message?: string; output?: string } +>("manual_patch_directory"); + +export const runManualUnpatch = callable< + [string], + { status: string; message?: string; output?: string } +>("manual_unpatch_directory"); -- cgit v1.2.3