dvRuntimeDirectory function

String dvRuntimeDirectory()

The session's runtime directory where there is one, else the temp directory: where a single-instance lock and what sits beside it live.

Implementation

String dvRuntimeDirectory() =>
    Platform.environment['XDG_RUNTIME_DIR'] ?? Directory.systemTemp.path;