diff options
| author | wuriko <noahfenghom@gmail.com> | 2026-02-08 15:08:04 +0100 |
|---|---|---|
| committer | wuriko <noahfenghom@gmail.com> | 2026-02-08 15:08:04 +0100 |
| commit | 62df0441f1ddc83c31dccc7cf9c62a762aed4994 (patch) | |
| tree | 97cfb2f5f8f954a7e26d52e0bee2d1f4a3a8a8a0 /defaults/assets/fgmod.sh | |
| parent | e6c32d27db7075d66ecef33f368bdd69d3b035d0 (diff) | |
| download | Decky-Framegen-62df0441f1ddc83c31dccc7cf9c62a762aed4994.tar.gz Decky-Framegen-62df0441f1ddc83c31dccc7cf9c62a762aed4994.zip | |
feat: add support for optiscaler config variables
Diffstat (limited to 'defaults/assets/fgmod.sh')
| -rwxr-xr-x | defaults/assets/fgmod.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/defaults/assets/fgmod.sh b/defaults/assets/fgmod.sh index d48856d..efe1ef2 100755 --- a/defaults/assets/fgmod.sh +++ b/defaults/assets/fgmod.sh @@ -128,6 +128,11 @@ else logger -t fgmod "📄 OptiScaler.ini installed to $exe_folder_path" fi +# === OptiScaler env variables Handling === +if command -v python &> /dev/null && [ -f "$fgmod_path/update-optiscaler-config.py" ]; then + python "$fgmod_path/update-optiscaler-config.py" "$exe_folder_path/OptiScaler.ini" +fi + # === ASI Plugins Directory === if [[ -d "$fgmod_path/plugins" ]]; then echo "🔌 Installing ASI plugins directory" |
