Lines 44-50
def bootstrap():
Link Here
|
44 |
if "UNO_PATH" in os.environ: |
44 |
if "UNO_PATH" in os.environ: |
45 |
sOffice = os.environ["UNO_PATH"] |
45 |
sOffice = os.environ["UNO_PATH"] |
46 |
else: |
46 |
else: |
47 |
sOffice = "" # lets hope for the best |
47 |
sOffice = "%eprefix%/usr/%libdir%/libreoffice/program" |
48 |
sOffice = os.path.join(sOffice, "soffice") |
48 |
sOffice = os.path.join(sOffice, "soffice") |
49 |
if platform.startswith("win"): |
49 |
if platform.startswith("win"): |
50 |
sOffice += ".exe" |
50 |
sOffice += ".exe" |