mirror of
https://github.com/lalbornoz/roar.git
synced 2024-11-23 07:36:37 +00:00
15 lines
426 B
Python
15 lines
426 B
Python
#!/usr/bin/env python3
|
|
#
|
|
# RtlPlatform.py
|
|
# Copyright (c) 2018, 2019 Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de>
|
|
# This project is licensed under the terms of the MIT licence.
|
|
#
|
|
|
|
import os, platform
|
|
|
|
def getLocalConfPathName(*args):
|
|
vname = "LOCALAPPDATA" if platform.system() == "Windows" else "HOME"
|
|
return os.path.join(os.getenv(vname), "roar", *args)
|
|
|
|
# vim:expandtab foldmethod=marker sw=4 ts=4 tw=120
|