Skip to content

Commit

Permalink
fix: notion path for enhancing
Browse files Browse the repository at this point in the history
  • Loading branch information
jamezrin committed Jun 5, 2024
1 parent 3fd6ac0 commit fcf4fb5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
},
}

0 comments on commit fcf4fb5

Please sign in to comment.