onlyoffice previews much faster and more robust, added --oosetup helper, improved error/log handling

This commit is contained in:
Leo Vasanko
2026-05-02 03:10:17 +00:00
parent 0ec3b3d93a
commit 31e0197fd9
15 changed files with 420 additions and 154 deletions
+3 -3
View File
@@ -61,10 +61,10 @@ config: Config
conffile: Path
def init_confdir() -> None:
def init_confdir(confdir: Path | str | None = None) -> None:
global conffile
if p := os.environ.get("CISTA_HOME"):
home = Path(p)
if confdir is not None:
home = Path(confdir).expanduser()
else:
xdg = os.environ.get("XDG_CONFIG_HOME")
home = (