Created by: guihkx
Purpose of proposed changes
This PR allows patching the Flatpak NVIDIA drivers, which is useful for Flatpak apps using NVENC/NvFBC (mainly useful for OBS Studio with this plugin I'm preparing to package; and also Kdenlive).
Essential steps taken
- I've added the
-f
flag to both scripts , which when used, enables patching Flatpak drivers. Backup and restore should also work flawlessly for the Flatpak version. - Automatic backup with
-f
adds a.flatpak
suffix to the filenames, in order to differentiate them from backup files from the host drivers.