Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
dev:client_coding:building_the_desktop_app [2023/10/17 09:37] – [Build Steps] xiangyu | dev:client_coding:building_the_desktop_app [2024/01/24 01:45] (current) – [Build Steps] dstillman |
---|
To build Zotero for another platform, first prepare Zotero's JavaScript source by running ''npm run build'' (or keep it prepared automatically as you make changes with ''npm start'') and then run ''app/scripts/dir_build'' with the ''-p'' flag for the desired platform (e.g., ''app/scripts/dir_build -p w'' for Windows). | To build Zotero for another platform, first prepare Zotero's JavaScript source by running ''npm run build'' (or keep it prepared automatically as you make changes with ''npm start'') and then run ''app/scripts/dir_build'' with the ''-p'' flag for the desired platform (e.g., ''app/scripts/dir_build -p w'' for Windows). |
| |
If you are using a recent version of NodeJS, you may run into ''ERR_OSSL_EVP_UNSUPPORTED'' error. Try to build with environment variable ''NODE_OPTIONS=--openssl-legacy-provider''. | If running ''npm run build'' manually, you may need to set the environment variable ''%%NODE_OPTIONS=--openssl-legacy-provider%%'' to avoid an ''ERR_OSSL_EVP_UNSUPPORTED'' error. |
===== Running Your Custom Build ==== | ===== Running Your Custom Build ==== |
| |