mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
generate live video wallpaper
This commit is contained in:
8
controllers/files_handler.py
Normal file
8
controllers/files_handler.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user