如何确认客户使用的Spartacus库文件是未经修改过的原始版本
關鍵是使用HashCheck這個工具進行比較。
In this document we describe how to use the tool to check if Spartacus libraries being used by customers were modified. This tool checks Spartacus libraries being used by a customer are “pristine” - same as from npmjs.
Follow below steps:
1- Download the attached jar file.
2- Copy the content of below folders in the customer source code to a temporary folder
…/cloud-commerce-spartacus-storefront/dist/core
…/cloud-commerce-spartacus-storefront/dist/storefrontlib
3- Copy the content of below folder in the Sparatacus pristine source code to a temporary folder
…/cloud-commerce-spartacus-storefront/dist/core
…/cloud-commerce-spartacus-storefront/dist/storefrontlib
4- Execute the jar file by running
java -jar Downloads/HashCheck.jar
5- Enter the path to the temporary folder you created for customer libararies
6- Enter the path to the temporary folder you created for Spartacus pristine libraries.
8- if the libraries are changed the application would let you know.
總結
以上是生活随笔為你收集整理的如何确认客户使用的Spartacus库文件是未经修改过的原始版本的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: SAP Spartacus cost c
- 下一篇: Microsoft Visual Stu