We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e23c3c commit e969b90Copy full SHA for e969b90
src/convert.ts
@@ -14,7 +14,7 @@ export const DEFAULT_ARGS = [
14
'--nologo',
15
'--norestore',
16
];
17
-const LO_BINARY_PATH = 'libreoffice7.6';
+const LO_BINARY_PATH = process.env.LO_BINARY_PATH ?? 'libreoffice7.6';
18
19
export async function convertTo(filename: string, format: string): Promise<string> {
20
await cleanupTempFiles();
0 commit comments