diff options
| author | Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com> | 2025-09-17 15:27:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 15:27:15 -0400 |
| commit | 295831a14b002604d2a1f207338c6034ab743c8e (patch) | |
| tree | d7b2b78a89b50a95ffec63c6880ac1e39c8a5406 /src/api/lsfgApi.ts | |
| parent | 21b076df45f542fdc02e8b5574abcd91e9d68f89 (diff) | |
| parent | 26b8d1933821805fcef9275519884214fb1bc175 (diff) | |
| download | decky-lsfg-vk-295831a14b002604d2a1f207338c6034ab743c8e.tar.gz decky-lsfg-vk-295831a14b002604d2a1f207338c6034ab743c8e.zip | |
Merge pull request #172 from xXJSONDeruloXx/decky-fg-crossoverv0.10.9
Decky fg crossover
Diffstat (limited to 'src/api/lsfgApi.ts')
| -rw-r--r-- | src/api/lsfgApi.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/api/lsfgApi.ts b/src/api/lsfgApi.ts index 6c535af..8db0c82 100644 --- a/src/api/lsfgApi.ts +++ b/src/api/lsfgApi.ts @@ -89,6 +89,13 @@ export interface FileContentResult { error?: string; } +export interface FgmodCheckResult { + success: boolean; + exists: boolean; + path?: string; + error?: string; +} + // Profile management interfaces export interface ProfilesResult { success: boolean; @@ -116,6 +123,7 @@ export const getConfigSchema = callable<[], ConfigSchemaResult>("get_config_sche export const getLaunchOption = callable<[], LaunchOptionResult>("get_launch_option"); export const getConfigFileContent = callable<[], FileContentResult>("get_config_file_content"); export const getLaunchScriptContent = callable<[], FileContentResult>("get_launch_script_content"); +export const checkFgmodDirectory = callable<[], FgmodCheckResult>("check_fgmod_directory"); // Updated config function using object-based configuration (single source of truth) export const updateLsfgConfig = callable< |
