Un-indent the file list commit code so it runs even if ther's no service and no installer-id.

Resolves #5238
This commit is contained in:
Daniel Johnson 2024-01-15 09:26:57 -05:00
parent 421f98b6a7
commit 54d950f0c2

View file

@ -195,11 +195,11 @@ class LutrisInstaller: # pylint: disable=too-many-instance-attributes
"filename": ""
}))
# Commit changes only at the end; this is more robust in this method is runner
# my two threads concurrently- the GIL can probably save us. It's not desirable
# to do this, but this is the easiest workaround.
self.files = files
self.extra_file_paths = extra_file_paths
# Commit changes only at the end; this is more robust in this method is runner
# my two threads concurrently- the GIL can probably save us. It's not desirable
# to do this, but this is the easiest workaround.
self.files = files
self.extra_file_paths = extra_file_paths
def install_extras(self):
# Copy extras to game folder; this updates the installer script, so it needs