Change windows binary permissions before signing

Explicitly set the permissions on the generated exe binary, which are required by the signtool.
This commit is contained in:
cd2357 2021-02-02 14:19:13 +01:00
parent b7188ecf72
commit b231c9644d
No known key found for this signature in database
GPG Key ID: F26C56748514D0D3

View File

@ -271,6 +271,9 @@ task packageInstallers {
executeCmd(jPackageFilePath + commonOpts + windowsOpts + " --type exe")
// Set the necessary permissions before calling signtool
executeCmd("attrib -R \"${binariesFolderPath}/Bisq-${appVersion}.exe\"")
// In addition to the groovy quotes around the string, the entire Windows command must also be surrounded
// by quotes, plus each path inside the command has to be quoted as well
// Reason for this is that the path to the called executable contains spaces