mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-20 02:13:56 +02:00
Prevent nuking socket base dir if not temporary
If `yabridge-host.exe` were somehow to be run with a socket base directory that's not inside of `$XDG_RUNTIME_DIR`/`/tmp`, then we'll now warn instead of removing that directory. This should not be necessary, but in case someone wants to write a wrapper around `yabridge-host.exe.so` us using a custom `$WINELOADER` then this could save a lot of headaches.
This commit is contained in:
@@ -98,6 +98,10 @@ TODO: Add an updated screenshot with some fancy VST3-only plugins to the readme
|
||||
and up. The build process now detect which version of Wine is used to build
|
||||
with, and it then applies the change conditionally to be able to support
|
||||
building with both older and newer versions of Wine.
|
||||
- `yabridge-host.exe` will no longer remove the socket directories if they're
|
||||
outside of a temporary directory. This could otherwise cause a very unpleasant
|
||||
surprise if someone was passing random arguments to it when for instancing
|
||||
trying to write a wrapper around `yabridge-host.exe`.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user