[Dev] How to Build and Customize Zotero 7 - Version Mismatch Issue
Hi,
I'm trying to customize Zotero 7 on macOS (add UI features, modify components) but running into version/build issues.
I tried:
1. Cloned the repo, started on 5.0 branch, built with `npm run build`
2. Tried launching with `-app` flag pointing to my build, but changes don't appear (realized Zotero 7 uses React, not XUL incompatible with 5.0 branch)
3. Switched to 7.0 branch and tried `app/scripts/build_and_run -r` but getting build errors
Questions:
- What's the correct workflow for building/running custom Zotero 7 from source?
- Does the `-app` flag still work, or should I be running from `app/staging/` after building?
- Do I need Git LFS files for local development, or just for packaging releases?
I've installed Node 18, Git LFS, and can build successfully on the 5.0 branch, but the 7.0 build system seems different. Any pointers to the right setup would be appreciated!
Thanks
I'm trying to customize Zotero 7 on macOS (add UI features, modify components) but running into version/build issues.
I tried:
1. Cloned the repo, started on 5.0 branch, built with `npm run build`
2. Tried launching with `-app` flag pointing to my build, but changes don't appear (realized Zotero 7 uses React, not XUL incompatible with 5.0 branch)
3. Switched to 7.0 branch and tried `app/scripts/build_and_run -r` but getting build errors
Questions:
- What's the correct workflow for building/running custom Zotero 7 from source?
- Does the `-app` flag still work, or should I be running from `app/staging/` after building?
- Do I need Git LFS files for local development, or just for packaging releases?
I've installed Node 18, Git LFS, and can build successfully on the 5.0 branch, but the 7.0 build system seems different. Any pointers to the right setup would be appreciated!
Thanks
Upgrade Storage
2) The build documentation is current for Zotero 7 and Zotero 8. (No idea why you would be doing anything with the 5.0 branch. Zotero 5 was released in 2017, and the branch was last updated 4 years ago.)
3) We'd need to know what errors you were getting in order to help.