From fcf4fb545c0aacb048c417a3d8f6bb0f01dd33cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Mart=C3=ADnez=20Rinc=C3=B3n?= Date: Wed, 5 Jun 2024 21:17:58 +0200 Subject: [PATCH] fix: notion path for enhancing --- forge.config.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/forge.config.js b/forge.config.js index cbcda7a..0ba1b85 100644 --- a/forge.config.js +++ b/forge.config.js @@ -98,12 +98,13 @@ module.exports = { 'notion-enhancer/scripts/enhance-desktop-app.mjs' ) - const path = options.outputPaths[0] - console.log('Setting notion path:', path) - enhancer.setNotionPath(path) + const appPath = path.join(options.outputPaths[0], 'Notion.app') + console.log('Setting notion path:', appPath) + console.log('Directory contents:', await fs.readdir(appPath)) + enhancer.setNotionPath(appPath) const result = await enhancer.enhanceApp(true) - console.log('Enhancer result:', result) + console.log('Enhancer success:', result) }, }, }