AIRHelper: allow Adobe AIR apps to be signed with storetypes that don't have a keystore file

For example, -storetype KeychainStore can be used to sign with an -alias value stored in the macOS Keychain
This commit is contained in:
Josh Tynjala
2022-12-30 22:03:38 -08:00
parent e9202b2355
commit 7d7f6fbbd3

View File

@@ -93,13 +93,16 @@ class AIRHelper
if (project.keystore != null)
{
var keystore = Path.tryFullPath(project.keystore.path);
var keystoreType = project.keystore.type != null ? project.keystore.type : "pkcs12";
signingOptions.push("-storetype");
signingOptions.push(keystoreType);
signingOptions.push("-keystore");
signingOptions.push(keystore);
if (project.keystore.path != null)
{
var keystore = Path.tryFullPath(project.keystore.path);
signingOptions.push("-keystore");
signingOptions.push(keystore);
}
if (project.keystore.alias != null)
{