diff options
| author | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-01-31 15:30:58 -0500 |
|---|---|---|
| committer | xXJSONDeruloXx <danielhimebauch@gmail.com> | 2026-01-31 15:30:58 -0500 |
| commit | d23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d (patch) | |
| tree | 22ee67da5c1dfb45a42122013c03eb9c37574385 /defaults/assets/fgmod.sh | |
| parent | 70027bd3d662807e19c587d13c8061e48760a4b5 (diff) | |
| download | Decky-Framegen-d23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d.tar.gz Decky-Framegen-d23e9b7fa1c3f31cfbfbd529cfed1f1aaaedd63d.zip | |
chore: cleanup and harden installer pathschore/cleanup
Diffstat (limited to 'defaults/assets/fgmod.sh')
| -rwxr-xr-x | defaults/assets/fgmod.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/defaults/assets/fgmod.sh b/defaults/assets/fgmod.sh index d48856d..3910580 100755 --- a/defaults/assets/fgmod.sh +++ b/defaults/assets/fgmod.sh @@ -19,6 +19,10 @@ fgmod_path="$HOME/fgmod" dll_name="${DLL:-dxgi.dll}" preserve_ini="${PRESERVE_INI:-true}" +if [[ ! -d "$fgmod_path" ]]; then + error_exit "OptiScaler bundle not found at $fgmod_path. Install OptiScaler first." +fi + # === Resolve Game Path === if [[ "$#" -lt 1 ]]; then error_exit "Usage: $0 program [program_arguments...]" |
