1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00

Desktop: Fixes #11408: Correct file path of OneNote converter on release build (#11410)

This commit is contained in:
pedr 2024-11-27 09:11:50 -03:00 committed by GitHub
parent 13f71e713c
commit 2f3b388188
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 7 deletions

View File

@ -61,7 +61,7 @@ export default class InteropService_Importer_OneNote extends InteropService_Impo
const outputDirectory2 = join(tempOutputDirectory, baseFolder);
const notebookFiles = zip.getEntries().filter(e => e.name !== '.onetoc2' && e.name !== 'OneNote_RecycleBin.onetoc2');
const { oneNoteConverter } = shim.requireDynamic('../../../onenote-converter/pkg/onenote_converter');
const { oneNoteConverter } = shim.requireDynamic('@joplin/onenote-converter');
logger.info('Extracting OneNote to HTML');
for (const notebookFile of notebookFiles) {

View File

@ -10,13 +10,7 @@
"type": "git",
"url": "https://github.com/laurent22/joplin"
},
"files": [
"./pkg/onenote_converter_bg.wasm",
"./pkg/onenote_converter.js",
"./pkg/onenote_converter.d.ts"
],
"main": "./pkg/onenote_converter.js",
"types": "./pkg/onenote_converter.d.ts",
"scripts": {
"build": "node ./build.js --profile=release",
"buildDev": "node ./build.js --profile=dev"