From 1aa0398ded0b80070deb0a6475acdc3286b5a2d2 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Fri, 30 Dec 2022 22:03:38 -0800 Subject: [PATCH] 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 --- src/lime/tools/AIRHelper.hx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lime/tools/AIRHelper.hx b/src/lime/tools/AIRHelper.hx index c6c7f86f8..08c009060 100644 --- a/src/lime/tools/AIRHelper.hx +++ b/src/lime/tools/AIRHelper.hx @@ -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) {