summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-05 23:44:37 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-05 23:44:37 -0400
commite8e469f99078858dc953663cba6f3428e80b1c5d (patch)
tree6d0e6730bf439ec2cb5b3564c636ce8342466df1 /src/api
parent77656ad88655effe0411808baf2fb90c629a24f8 (diff)
downloaddecky-lsfg-vk-e8e469f99078858dc953663cba6f3428e80b1c5d.tar.gz
decky-lsfg-vk-e8e469f99078858dc953663cba6f3428e80b1c5d.zip
refactor: delegate runtime checks to lsfg-vk
Diffstat (limited to 'src/api')
-rw-r--r--src/api/lsfgApi.ts27
1 files changed, 3 insertions, 24 deletions
diff --git a/src/api/lsfgApi.ts b/src/api/lsfgApi.ts
index 2c9f4a9..68cf6bf 100644
--- a/src/api/lsfgApi.ts
+++ b/src/api/lsfgApi.ts
@@ -11,28 +11,8 @@ export interface InstallationResult {
export interface InstallationStatus {
installed: boolean;
- lib_exists: boolean;
- json_exists: boolean;
- script_exists: boolean;
- lib_path: string;
- json_path: string;
- script_path: string;
- error?: string;
-}
-
-export interface DllDetectionResult {
- detected: boolean;
- path?: string;
- source?: string;
- message?: string;
- error?: string;
-}
-
-export interface DllStatsResult {
- success: boolean;
- dll_path?: string;
- dll_sha256?: string;
- dll_source?: string;
+ lossless_scaling_installed: boolean;
+ lossless_scaling_status: string;
error?: string;
}
@@ -84,6 +64,7 @@ export interface FlatpakExtensionStatus {
success: boolean;
message: string;
error?: string;
+ installed_23_08: boolean;
installed_24_08: boolean;
installed_25_08: boolean;
}
@@ -131,8 +112,6 @@ export interface ProfileResult {
export const installLsfgVk = callable<[], InstallationResult>("install_lsfg_vk");
export const uninstallLsfgVk = callable<[], InstallationResult>("uninstall_lsfg_vk");
export const checkLsfgVkInstalled = callable<[], InstallationStatus>("check_lsfg_vk_installed");
-export const checkLosslessScalingDll = callable<[], DllDetectionResult>("check_lossless_scaling_dll");
-export const getDllStats = callable<[], DllStatsResult>("get_dll_stats");
export const getLsfgConfig = callable<[], ConfigResult>("get_lsfg_config");
export const getConfigSchema = callable<[], ConfigSchemaResult>("get_config_schema");
export const getLaunchOption = callable<[], LaunchOptionResult>("get_launch_option");