mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
8 lines
179 B
Python
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) |