Commit graph

7034 commits

Author SHA1 Message Date
Mathieu Comandon a17b6fbf54 Return an empty list if steam is not installed 2021-08-30 19:22:56 -07:00
Mathieu Comandon 8d4a00fb85 Return wine specific path for SteamApps in the Steam for Windows service 2021-08-30 19:12:16 -07:00
Mathieu Comandon f6838a8a4c Provide WINEBIN as a variable in scripts 2021-08-30 17:02:08 -07:00
Mathieu Comandon cb4e5cb315 Update sidebar when services are enabled/disabled 2021-08-30 16:51:17 -07:00
Mathieu Comandon 5dc6dcdf43 idk why anyone thought it was ok to do 2021-08-30 16:09:19 -07:00
Mathieu Comandon ea74e02325 What security are you providing? 2021-08-30 15:38:49 -07:00
Mathieu Comandon e063817a10 Remove game from view when game is hidden 2021-08-30 15:28:07 -07:00
Mathieu Comandon 06c9b42010 Add smaller sizes for EGS media 2021-08-30 14:59:53 -07:00
Mathieu Comandon b8f879fbb6 Create method to return MAME shaders 2021-08-30 14:54:23 -07:00
Mathieu Comandon 4980ef1a9a Generate MAME shaders with a loop 2021-08-30 14:35:32 -07:00
Mathieu Comandon 85f088e4a8 Add CRT effect for MAME (From SyntaxTerror) 2021-08-29 15:59:50 -07:00
Mathieu Comandon 6484523e61 Remove nvapi from dlls disabled by default 2021-08-27 20:54:31 -07:00
Mathieu Comandon 341537ca46 Disable winemenubuilder during installer tasks 2021-08-27 20:53:07 -07:00
bexnoss 43eff9ae75 Fix service id key in generated GOG installers 2021-08-27 19:27:44 -07:00
Mathieu Comandon ecb36e27ad Fix linting issues 2021-08-27 19:15:30 -07:00
Christian Clauss 4fd77d33cf Simplify with list comprehension 2021-08-27 18:32:08 -07:00
Christian Clauss c39ef4341d Upgrade insecure PyYAML version flagged by Safety
Run in our GitHub Action… `safety Check`
```
+==============================================================================+
|                                                                              |
|                               /$$$$$$            /$$                         |
|                              /$$__  $$          | $$                         |
|           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$           |
|          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$           |
|         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$           |
|          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$           |
|          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$           |
|         |_______/  \_______/|__/     \_______/   \___/   \____  $$           |
|                                                          /$$  | $$           |
|                                                         |  $$$$$$/           |
|  by pyup.io                                              \______/            |
|                                                                              |
+==============================================================================+
| REPORT                                                                       |
| checked 62 packages, using free DB (updated once a month)                    
+============================+===========+==========================+==========+
| package                    | installed | affected                 | ID       |
+============================+===========+==========================+==========+
| pyyaml                     | 5.3.1     | <5.4                     | 39611    |
| cryptography               | 3.1.1     | <3.3                     | 39252    |
| cryptography               | 3.1.1     | <3.3.2                   | 39606    |
| cryptography               | 3.1.1     | <=3.2                    | 38932    |
+==============================================================================+
```
2021-08-27 18:31:45 -07:00
Christian Clauss 682f9b3742 Upgrade insecure cryptography version flagged by Safety
https://pypi.org/project/cryptography

Run in our GitHub Action… `safety check`
```
+==============================================================================+
|                                                                              |
|                               /$$$$$$            /$$                         |
|                              /$$__  $$          | $$                         |
|           /$$$$$$$  /$$$$$$ | $$  \__//$$$$$$  /$$$$$$   /$$   /$$           |
|          /$$_____/ |____  $$| $$$$   /$$__  $$|_  $$_/  | $$  | $$           |
|         |  $$$$$$   /$$$$$$$| $$_/  | $$$$$$$$  | $$    | $$  | $$           |
|          \____  $$ /$$__  $$| $$    | $$_____/  | $$ /$$| $$  | $$           |
|          /$$$$$$$/|  $$$$$$$| $$    |  $$$$$$$  |  $$$$/|  $$$$$$$           |
|         |_______/  \_______/|__/     \_______/   \___/   \____  $$           |
|                                                          /$$  | $$           |
|                                                         |  $$$$$$/           |
|  by pyup.io                                              \______/            |
|                                                                              |
+==============================================================================+
| REPORT                                                                       |
| checked 62 packages, using free DB (updated once a month)                    
+============================+===========+==========================+==========+
| package                    | installed | affected                 | ID       |
+============================+===========+==========================+==========+
| pyyaml                     | 5.3.1     | <5.4                     | 39611    |
| cryptography               | 3.1.1     | <3.3                     | 39252    |
| cryptography               | 3.1.1     | <3.3.2                   | 39606    |
| cryptography               | 3.1.1     | <=3.2                    | 38932    |
+==============================================================================+
```
2021-08-27 18:31:28 -07:00
Christian Clauss 657180ed09 Simplify logic with any() 2021-08-27 18:31:12 -07:00
Christian Clauss d23977a859 str.endswith() can take a tuple of suffixes
https://docs.python.org/3/library/stdtypes.html#str.endswith
2021-08-27 18:30:46 -07:00
Thomas Staudinger 45075b055a Fix order of get_lib_folders 2021-08-27 18:29:44 -07:00
David Hollinger III 6a61aa570f Use libraryfolders.vdf to find addtl steam games
* Add `read_library_folders` method to read and parse the
`libraryfolders.vdf` file for additional Steam game libraries
* Add `get_library_config` method to the steam runner file
to execute the `read_library_folders()` method from the steam
config file.
* After parsing the `config.vdf` file for any `BaseInstallFolder_X`
keys, it will now also look for any `path` keys in the
parsed `libraryfolders.vdf` dictionary. This happens before the code
cleans up duplicate entries in the `dirs` array.
2021-08-23 16:47:57 -07:00
tannisroot 2b7ef5dc01 Set DXVK_NVAPIHACK to 0 if DXVK-NVAPI is enabled 2021-08-10 17:03:32 +03:00
tannisroot 984c782ed4 Remove zerovram workaround 2021-08-10 17:03:22 +03:00
Mathieu Comandon 8d9ec3b5bc Return an empty list when manifest path not present 2021-08-09 19:17:18 -07:00
Mathieu Comandon 8f44cc1b30 Check if manifests path exists before iterating over them 2021-08-09 18:51:35 -07:00
Mathieu Comandon 04697e8fd5 Check if EGS is installed before launching the install 2021-08-09 18:45:25 -07:00
Mathieu Comandon 59eeaf5f2f Remove code from ACO option 2021-08-09 18:02:41 -07:00
Mathieu Comandon 89fe7e0a42 Always display configure button for runners 2021-08-02 18:04:17 -07:00
Mathieu Comandon 69d88a6c80 Put PGA in tmp when run with pytest 2021-08-02 15:42:38 -07:00
oscfdezdz b40512b478 Add Spanish translation 2021-08-02 15:37:29 -07:00
bexnoss ed56bca4dd Localize GOG extras 2021-08-02 15:35:28 -07:00
Antoine Kapps da41d08ebb Stop download processes on cancel installation
If the user aborted the installation without hitting [Cancel] for
each individual download, the processes continued until they
finished entirely.
This patch exposes a way to cancel all from the InstallerFileBoxes
and triggers it on InstallerWindow.cancel_installation.
2021-08-02 15:32:15 -07:00
Unrud 5eb2d06ba3 Don't follow symlinks when merging directories
I found this bug when I tried to install Grim Fandango Remastered from GOG. The archive contains dangling symlinks for some files in *.../usr/share/doc* and the installation fails with `FileNotFoundError`.

Without `follow_symlinks=False` it also fails for symlinks to directories because `shutil.copy` can only handle regular files.
A smaller issue caused by following symlinks are redundant copies of libraries (e.g. `libexample.so.1.0.0`, `libexample.so.1 -> libexample.so.1.0.0`, `libexample.so -> libexample.so.1.0.0`).
2021-08-02 15:29:16 -07:00
Christian Clauss 9a88439475 Update lint_python.yml 2021-08-02 13:44:18 -07:00
Christian Clauss 9daad2cf96 Update lint_python.yml 2021-08-02 13:44:18 -07:00
Christian Clauss 88a221ffbf uses: GabrielBB/xvfb-action@v1 2021-08-02 13:44:18 -07:00
Christian Clauss e527bb1989 Update lint_python.yml 2021-08-02 13:44:18 -07:00
Christian Clauss c16691697d sudo apt-get install --fix-missing 2021-08-02 13:44:18 -07:00
Christian Clauss f855dcea33 Update lint_python.yml 2021-08-02 13:44:18 -07:00
Christian Clauss a1c5bfef9d sudo apt-get install libdbus-1-dev libgirepository1.0-dev gir1.2-gnomedesktop-3.0 gir1.2-gtk-3.0 2021-08-02 13:44:18 -07:00
Christian Clauss 76f75b131a sudo apt-get install libdbus-1-dev libgirepository1.0-dev 2021-08-02 13:44:18 -07:00
Christian Clauss 7aab598176 sudo apt-get install libdbus-1-dev 2021-08-02 13:44:18 -07:00
Christian Clauss 3540480b42 Update lint_python.yml 2021-08-02 13:44:18 -07:00
Christian Clauss bdf94e1d9d pip install PyGObject -r requirements.txt 2021-08-02 13:44:18 -07:00
Christian Clauss cdea86c9b4 Placate flake8 2021-08-02 13:44:18 -07:00
Christian Clauss e5652a0210 Placate flake8 2021-08-02 13:44:18 -07:00
Christian Clauss 10bddb90cf Update lint_python.yml 2021-08-02 13:44:18 -07:00
Christian Clauss c07b555880 GitHub Action to lint Python code 2021-08-02 13:44:18 -07:00
Heimen Stoffels f2966e6944 Updated Dutch translation 2021-08-02 13:42:16 -07:00