Fix Neutralino resource path so release loads OpenWhisper UI#1
Fix Neutralino resource path so release loads OpenWhisper UI#1weroperking wants to merge 1 commit intomainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthrough
Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Tip Try Coding Plans. Let us write the prompt for your AI agent so you can ship faster (with fewer bugs). Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Motivation
/resourcespath which can cause the default Neutralino starter page to be shown instead of the project's UI, so the resources path must be project-relative to ensureresources/index.htmlis found in releases.Description
neutralino.config.jsonto setcli.resourcesPathfrom/resourcesto./resources/and normalized thenativeAllowListformatting so packaged builds resolve the app'sresources/folder correctly.Testing
npx neu build --releaseto validate packaging; the build run in this environment emitted a CLI warning (Cannot read properties of undefined (reading 'window')) but the config file now contains the updatedcli.resourcesPathand the packaging step reports the application package was generated (resources path fix applied).Codex Task
Summary by CodeRabbit