Various build fixes, cleanup and details #6

Merged
leo merged 34 commits from trace into main 2023-11-21 15:32:49 +00:00
Showing only changes of commit 37e06dd412 - Show all commits

View File

@ -5,6 +5,7 @@ import msgspec
def readconf() -> dict: def readconf() -> dict:
p = Path.home() / ".droppy/config" # Hardcoded in Droppy p = Path.home() / ".droppy/config" # Hardcoded in Droppy
print("Reading Droppy config", p)
cf = msgspec.json.decode((p / "config.json").read_bytes()) cf = msgspec.json.decode((p / "config.json").read_bytes())
db = msgspec.json.decode((p / "db.json").read_bytes()) db = msgspec.json.decode((p / "db.json").read_bytes())
cf["path"] = p.parent / "files" cf["path"] = p.parent / "files"