Cleanup, prep for editor
Some checks failed
Build Dusk / build-linux (push) Failing after 40s
Build Dusk / build-psp (push) Failing after 1m7s

This commit is contained in:
2025-11-15 22:21:03 -06:00
parent 7278bd0c6f
commit c53439066e
17 changed files with 132 additions and 131 deletions

20
tools/dusk/defs.py Normal file
View File

@@ -0,0 +1,20 @@
from dotenv import load_dotenv
import os
import sys
current_file_path = os.path.abspath(__file__)
print(current_file_path)
ASSET_FILE_NAME_MAX_LENGTH = 256
duskDefsPath = os.path.join(os.path.dirname(current_file_path), "..", "..", "src", "duskdefs.env")
# Ensure the .env file exists
if not os.path.isfile(duskDefsPath):
print(f"Error: .env file not found at {duskDefsPath}")
sys.exit(1)
load_dotenv(dotenv_path=duskDefsPath)
defs = {key: os.getenv(key) for key in os.environ.keys()}