diff --git a/bumble/transport/android_netsim.py b/bumble/transport/android_netsim.py index 264266df..9409b667 100644 --- a/bumble/transport/android_netsim.py +++ b/bumble/transport/android_netsim.py @@ -70,6 +70,8 @@ def get_ini_dir() -> Optional[pathlib.Path]: elif sys.platform == 'linux': if xdg_runtime_dir := os.environ.get('XDG_RUNTIME_DIR', None): return pathlib.Path(xdg_runtime_dir) + if tmpdir := pathlib.Path('/tmp'): + return tmpdir elif sys.platform == 'win32': if local_app_data_dir := os.environ.get('LOCALAPPDATA', None): return pathlib.Path(local_app_data_dir) / 'Temp'