Files
bearhub/fpakman/core/resource.py
Vinícius Moreira 8a95d508c8 0.1.0 (#1)
- Supporting flatpak 1.X, 1.2X and 1.4.X
- Tray icon
- System notifications when new updates are available
- Applications management window
2019-06-14 16:50:29 -03:00

11 lines
212 B
Python
Executable File

import os
def get_path(resource_path):
app_dir = get_app_dir()
return app_dir + '/resources/' + resource_path
def get_app_dir():
return os.path.dirname(os.path.dirname(os.path.abspath(__file__)))