qgis_deployment_toolbelt.utils.os_utils_router module¶
Just a router to functions depending on operating system.
- qgis_deployment_toolbelt.utils.os_utils_router.delete_environment_variable(envvar_name: str, scope: Literal['system', 'user'] = 'user') bool¶
Remove environment variable from Linux profile file.
- qgis_deployment_toolbelt.utils.os_utils_router.get_environment_variable(envvar_name: str, scope: str = 'user') str | None¶
Get environment variable from Linux profile file.
- qgis_deployment_toolbelt.utils.os_utils_router.refresh_environment() bool¶
Just here to be equivalent with Windows logic.
TODO: refacto merging win32 methods in a single class.
- Returns:
always True
- Return type: