This commit is contained in:
Auric Vente
2024-07-18 02:14:03 -06:00
parent a14e36e932
commit 685f5bc686
12 changed files with 76 additions and 25 deletions

17
cromulant/config.py Normal file
View File

@@ -0,0 +1,17 @@
from pathlib import Path
class Config:
title = "Cromulant"
width = 800
height = 600
here: str
database_path: Path
schema_path: Path
@staticmethod
def prepare() -> None:
Config.here = Path(__file__).parent
Config.database_path = Config.here / "cromulant.db"
Config.schema_path = Config.here / "schema.sql"