Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dev:client_coding:building_the_desktop_app [2023/10/17 09:37] – [Build Steps] xiangyudev:client_coding:building_the_desktop_app [2024/01/24 01:45] (current) – [Build Steps] dstillman
Line 18: Line 18:
 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 ====
  
dev/client_coding/building_the_desktop_app.1697549854.txt.gz · Last modified: 2023/10/17 09:37 by xiangyu