Skip to content

Commit 0932107

Browse files
committed
feat: adapt to 25.2
1 parent eabd944 commit 0932107

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

src/convert.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const DEFAULT_ARGS = [
1515
'--nologo',
1616
'--norestore',
1717
];
18-
const LO_BINARY_PATH = 'libreoffice7.6';
18+
const LO_BINARY_PATH = 'libreoffice25.2';
1919

2020
export async function convertTo(filename: string, format: string): Promise<string> {
2121
await cleanupTempFiles();

test/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
FROM public.ecr.aws/shelf/lambda-libreoffice-base:7.6-node20-x86_64
1+
# FROM public.ecr.aws/shelf/lambda-libreoffice-base:7.6-node20-x86_64
2+
FROM libreoffice-lambda-base:local
23

34
COPY test-bundled.js ${LAMBDA_TASK_ROOT}/test.js
45
COPY test-data ${LAMBDA_TASK_ROOT}/test-data

test/test-data/test-document.pdf

3.13 KB
Binary file not shown.

test/test-data/test.pdf

1.98 KB
Binary file not shown.

0 commit comments

Comments
 (0)