You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create Wine wrapper scripts under either `$XDG_RUNTIME_DIR` and
`$XDG_CACHE_DIR`, depending on which location permits executables.
`$XDG_RUNTIME_DIR` is preferred if available.
Prior to this, we always created the directory for the Wine wrapper
scripts under `$XDG_CACHE_DIR`. This can be problematic as sometimes the
mount point has the `noexec` mount flag set, causing any Wine calls to
crash later.
Note that we also need to set sticky bits for files under
`$XDG_RUNTIME_DIR` to avoid automatic cleanup per XDG spec. A quick
search indicates no distro implements this cleanup yet, though. There
also doesn't seem to be any harm unnecessarily setting this sticky bit
for files residing elsewhere, so just set it everywhere for simplicity's
sake.
Fixes#307
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
10
10
11
11
### Changed
12
12
-`protontricks -c` and `protontricks-launch` now use the current working directory instead of the game's installation directory. `--cwd-app` can be used to restore old behavior. Scripts can also `$STEAM_APP_PATH` environment variable to determine the game's installation directory; this has been supported (albeit undocumented) since 1.8.0.
13
+
- Protontricks will now prefer `XDG_RUNTIME_DIR` for storing Wine wrapper script and fall back to `XDG_CACHE_DIR` if it's not set
14
+
15
+
### Fixed
16
+
- Fix Wine crash due to Protontricks not properly checking for execute permission
0 commit comments