mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Rename YABRIDGE_TEMP_PATH to YABRIDGE_TEMP_DIR
I liked the `_PATH` version better initially, but the `_DIR` verison has a better ring to it and it's more consistent with `$XDG_RUNTIME_DIR`. #139
This commit is contained in:
@@ -669,7 +669,7 @@ the yabridge [Discord](https://discord.gg/pyNeweqadf).
|
|||||||
namespace while the host is not sandboxed, then you'll have to use the
|
namespace while the host is not sandboxed, then you'll have to use the
|
||||||
`YABRIDGE_NO_WATCHDOG` environment variable to disable the watchdog timer. If
|
`YABRIDGE_NO_WATCHDOG` environment variable to disable the watchdog timer. If
|
||||||
you know what this means then you probably know what you're doing. In that
|
you know what this means then you probably know what you're doing. In that
|
||||||
case, you may also want to use `YABRIDGE_TEMP_PATH` to choose a different
|
case, you may also want to use `YABRIDGE_TEMP_DIR` to choose a different
|
||||||
directory for yabridge to store its sockets and other temporary files in.
|
directory for yabridge to store its sockets and other temporary files in.
|
||||||
|
|
||||||
## Performance tuning
|
## Performance tuning
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ constexpr char disable_watchdog_timer_env_var[] = "YABRIDGE_NO_WATCHDOG";
|
|||||||
* other temporary files here instead of in `$XDG_RUNTIME_DIR` or `/tmp`. This
|
* other temporary files here instead of in `$XDG_RUNTIME_DIR` or `/tmp`. This
|
||||||
* is only relevant when using some namespacing setup for sandboxing.
|
* is only relevant when using some namespacing setup for sandboxing.
|
||||||
*/
|
*/
|
||||||
constexpr char temp_dir_override_env_var[] = "YABRIDGE_TEMP_PATH";
|
constexpr char temp_dir_override_env_var[] = "YABRIDGE_TEMP_DIR";
|
||||||
|
|
||||||
fs::path get_temporary_directory() {
|
fs::path get_temporary_directory() {
|
||||||
bp::environment env = boost::this_process::environment();
|
bp::environment env = boost::this_process::environment();
|
||||||
|
|||||||
Reference in New Issue
Block a user