summaryrefslogtreecommitdiff
path: root/src/api/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/index.ts')
-rw-r--r--src/api/index.ts15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/api/index.ts b/src/api/index.ts
index 11e4213..df52fee 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -21,3 +21,18 @@ 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");
+
+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");