John Colvin ea21c3e7ff build: Resolve app data dir and shared mem prefix at runtime
We can't define them at compile time anymore since we build multiple exes that
depend on libspark in the same dir (e.g., api-server, pubsub, sparkd, etc.),
and each one needs its own shared memory and app data filespaces.

For shared memory:
  * Prefix all shm files with the proc name and an environment variable,
    BTS_SHARED_MEMORY_PREFIX (if defined). The env var is only necessary
    when 2 exe's with the same name run simultaneously.

For app data:
  * On linux, the default is:
    /home/<user_name>/.local/share/bts/<proc_name>
  * On windows, the default is:
    /User/<user_name>/AppData/Roaming/bts/<proc_name>
  * This path can be overridden in the environment variable:
    <proc_name>__APPDATA
    - For example, SPARKD__APPDATA, PUBSUB__APPDATA, etc.
2025-12-05 15:53:32 +00:00
2025-04-28 17:12:58 +00:00
2024-06-11 17:39:12 +00:00
2022-05-02 12:28:56 -04:00
2019-11-14 17:44:24 -05:00
2025-06-16 11:08:58 -04:00
S
Description
No description provided
182 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 54.9%
C# 39.2%
CSS 2.7%
F# 1.3%
Python 0.8%
Other 0.9%