diff options
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...]" |
