mirror of
https://git.hiabuto.net/C3MA/CCMA.git
synced 2026-07-03 12:10:05 +02:00
ci: add CCMA release builds
This commit is contained in:
@@ -511,9 +511,9 @@ def _office_executable() -> str | None:
|
||||
if value and value not in windows_roots:
|
||||
windows_roots.append(value)
|
||||
for root in windows_roots:
|
||||
candidate = Path(root) / "LibreOffice" / "program" / "soffice.exe"
|
||||
if candidate.is_file():
|
||||
return str(candidate)
|
||||
candidate = os.path.join(root, "LibreOffice", "program", "soffice.exe")
|
||||
if os.path.isfile(candidate):
|
||||
return candidate
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user