0
我有一个NWJS Mac App hello.app。在Mac应用的软件包文件中添加EULA协议
我使用权利签署了应用程序,并创建了一个包hello.pkg,它工作正常。
现在我想在此包中添加一个EULA协议。有人可以建议我应该如何实现这一目标?
我的尝试:
生成distribution.plist或XML从hello.app
productbuild --synthesize --product “hello.app/Contents/Info.plist” - -package hello.app distribution.plist
更新自述/许可证文件的plist
<installer-gui-script minSpecVersion="1"> <license file="LICENSE.html"/> <readme file="README.html"/> </installer-gui-script>
现在再次构建以创建包。
$ productbuild - 水泵distribution.xml hello.pkg
,但我得到的错误:
Cannot copy package "hello.app" into the product. (Bundle-style package "hello.app" is not supported.)
请提供建议。
嗨,对此有任何建议。 – Swati