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

This commit is contained in:
2026-05-02 03:10:17 +00:00
parent 4dd1d4c7e6
commit 1bec73f4cd
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 = (