enet-client-server/examples/chat app/client/paths.py

13 lines
255 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
import os
from platform_utils import paths as paths_
def app_path():
2022-01-14 11:47:24 -06:00
return paths_.app_path()
def locale_path():
2022-01-14 11:47:24 -06:00
return os.path.join(app_path(), "locales")
def sound_path():
2022-01-14 11:47:24 -06:00
return os.path.join(app_path(), "sounds")