gpt4 book ai didi

gradle - 如何为 install4j 提供 key 文件密码

转载 作者:行者123 更新时间:2023-12-03 03:53:35 32 4
gpt4 key购买 nike

我已经对证书进行了自签名,并且正在尝试使用 Install4j 对 exe 进行签名。我在上面输入了密码 12345678。似乎找到了 key 文件,是的,它已加密(pw:12345678)。输出是:

Loading config file C:\Users\alexa\IdeaProjects\downlords-faf-client\downlords-faf-client.install4j------------------------------------------------------------------------------
The private key is encrypted. To avoid manual intervention, set the
"--win-keystore-password" command line option or the
"winKeystorePassword" gradle property or ant task attribute.
------------------------------------------------------------------------------
Enter the password for the Windows key store:


Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings
10 actionable tasks: 2 executed, 8 up-to-date
install4j: compilation failed. Reason: null
我都尝试在 gradle.properties 和通过命令行设置密码。
enter image description here
enter image description here
enter image description here

最佳答案

设置 gradle 属性不会将值传递给 install4j 编译器,您必须在 gradle task 上配置属性.
错误信息具有误导性,它应该说

"winKeystorePassword" gradle task property


代替

"winKeystorePassword" gradle property


这将在 8.0.9 中修复。

关于gradle - 如何为 install4j 提供 key 文件密码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64043172/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com