Skip to content

Commit

Permalink
Revert "Removed mentions of global section from documentation"
Browse files Browse the repository at this point in the history
This reverts commit 8b16684.
  • Loading branch information
jrelvas-ipc committed Dec 20, 2023
1 parent 8b16684 commit 3482929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/Configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ If you're using the Flatpak, ensure that the path of the `wineroot` configuratio

| Section | Description |
| ---------- | ------------------------------------------------------------------------------------------------------------------------- |
| `[global]` | The global binary configuration for both Player and Studio, either can override, but FFlags and Environment are appended. |
| `[player]` | Binary configuration for Player |
| `[studio]` | Binary configuration for Studio |
| `[env]` | Global environment |
| `[env]` | Global environment, this is similar to `[global.env]`. |
| `[splash]` | Configuraton for the loading screen of Vinegar |

### Binary Configuration

This section are the available options for the Studio and Player configurations, they are specified under their sections as listed above.
This section are the available options for the global, Studio or Player configurations, they are specified under their sections as listed above.

| Option | Description | Default |
| ------------------ | ------------------------------------------------------------------------------------------------ | ------------------ |
Expand Down Expand Up @@ -98,7 +99,7 @@ wineroot = "/home/meow/wine-ge"
[env]
WINEFSYNC = "1"

[player]
[global]
launcher = "gamemoderun"
dxvk = false
renderer = "Vulkan"
Expand Down
4 changes: 2 additions & 2 deletions src/Troubleshooting/winehq.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Vinegar can be configured to help you determine whether a bug/issue is caused by
To begin, create a new toml configuration file in an appropriate location, with the following content:

```toml
# Written for Vinegar v1.6.0.
# Written for Vinegar v1.5.9.

# WARNING: This should be left empty if your system has WineHQ packages installed (https://wiki.winehq.org/Download).
# Otherwise, either install WineHQ packages or set wineroot to a staging/development wine's path.
Expand All @@ -26,7 +26,7 @@ sanitize_env = false # (X)
[splash]
enabled = false # (X)

[env]
[global.env]
WINEDEBUG = "" # (?): Use this to increase Wine log verbosity.
MESA_GL_VERSION_OVERRIDE = "" # (?): OpenGL debugging
__GL_THREADED_OPTIMIZATIONS = "" # (?): OpenGL debugging
Expand Down

0 comments on commit 3482929

Please sign in to comment.