Files
Nugget/controllers/files_handler.py
2025-03-22 20:31:31 -04:00

8 lines
179 B
Python

import sys
from os import path, getcwd
def get_bundle_files(name: str):
try:
return path.join(sys._MEIPASS, name)
except:
return path.join(getcwd(), name)