Skip to content

fix: downgrade fix-path to v4 for CJS compat, lowercase productName#19

Draft
lalit-videodb wants to merge 2 commits intovideo-db:mainfrom
lalit-videodb:fix/build-config-and-fix-path
Draft

fix: downgrade fix-path to v4 for CJS compat, lowercase productName#19
lalit-videodb wants to merge 2 commits intovideo-db:mainfrom
lalit-videodb:fix/build-config-and-fix-path

Conversation

@lalit-videodb
Copy link
Copy Markdown
Contributor

@lalit-videodb lalit-videodb commented Mar 26, 2026

Summary

  • Use dynamic import() for fix-path v5 (ESM-only) so it works in the CJS main process — fixes TS2307: Cannot find module 'fix-path'
  • Lowercase productName to call.md with CFBundleDisplayName/CFBundleName for consistent branding in macOS permission dialogs
  • Add artifactName with ${arch} suffix so both x64 and arm64 DMGs get distinct filenames
  • Add curl-based install script for easy installation
  • Add publish.sh to .gitignore

Test plan

  • npm run build completes without TS errors
  • npm run dist:mac produces correctly named DMGs with arch suffix

…add install script

- fix-path v5 is ESM-only which breaks CJS build (TS2307)
- Lowercase productName + CFBundleDisplayName for consistent branding
- Add artifactName with arch suffix for DMG naming
- Add install script for curl-based installation
- Add publish.sh to .gitignore
- Keep fix-path v5 (ESM-only) and use dynamic import() instead of downgrading
- Accept upstream version bump (1.0.1) and videodb ^0.2.4
- Resolve package.json and package-lock.json merge conflicts
@codeAshu codeAshu requested a review from omgate234 March 26, 2026 17:11
@omgate234
Copy link
Copy Markdown
Collaborator

Can you share the exact error you were facing and for which actions? Will help me gauge wether this PR is required or not

@omgate234 omgate234 marked this pull request as draft March 26, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants