diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-15 22:01:48 -0400 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2025-07-15 22:01:48 -0400 |
| commit | ea6185179fb6d8eedaf90236baf8b7779a9da716 (patch) | |
| tree | a1e3aaf2bd4f783cb1e6bcc5224a1d30cc9c79f2 /src/hooks | |
| parent | 3f7dd8ce0a0f11f894332a3b4351ecd7a9abd141 (diff) | |
| download | decky-lsfg-vk-ea6185179fb6d8eedaf90236baf8b7779a9da716.tar.gz decky-lsfg-vk-ea6185179fb6d8eedaf90236baf8b7779a9da716.zip | |
better install status ui
Diffstat (limited to 'src/hooks')
| -rw-r--r-- | src/hooks/useLsfgHooks.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/hooks/useLsfgHooks.ts b/src/hooks/useLsfgHooks.ts index c0bd8e8..ad04305 100644 --- a/src/hooks/useLsfgHooks.ts +++ b/src/hooks/useLsfgHooks.ts @@ -17,13 +17,13 @@ export function useInstallationStatus() { const status = await checkLsfgVkInstalled(); setIsInstalled(status.installed); if (status.installed) { - setInstallationStatus("lsfg-vk is installed"); + setInstallationStatus("lsfg-vk Installed"); } else { - setInstallationStatus("lsfg-vk is not installed"); + setInstallationStatus("lsfg-vk Not Installed"); } return status.installed; } catch (error) { - setInstallationStatus("Error checking installation status"); + setInstallationStatus("lsfg-vk Not Installed"); return false; } }; @@ -50,12 +50,12 @@ export function useDllDetection() { const result = await checkLosslessScalingDll(); setDllDetected(result.detected); if (result.detected) { - setDllDetectionStatus(`Lossless Scaling App detected (${result.source})`); + setDllDetectionStatus("Lossless Scaling Installed"); } else { - setDllDetectionStatus(result.message || "Lossless Scaling App not detected"); + setDllDetectionStatus("Lossless Scaling Not Installed"); } } catch (error) { - setDllDetectionStatus("Error checking Lossless Scaling App"); + setDllDetectionStatus("Lossless Scaling Not Installed"); } }; |
