From c0d8fe3e3673d578dfbf0fbba570aac1e27d7db7 Mon Sep 17 00:00:00 2001 From: Josh Tynjala Date: Wed, 22 Jan 2025 13:15:34 -0800 Subject: [PATCH] Allow -unpackage-anes for release builds If someone really wants that, I don't see why it should be restricted to debug builds only. --- src/ASConfigC.as | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ASConfigC.as b/src/ASConfigC.as index 6546460..2b1d8a5 100644 --- a/src/ASConfigC.as +++ b/src/ASConfigC.as @@ -224,7 +224,7 @@ package console.info(" --debug=true, --debug=false Specify debug or release mode. Overrides the debug compiler option, if specified in asconfig.json."); console.info(" --air PLATFORM Package the project as an Adobe AIR application. The allowed platforms include `android`, `ios`, `windows`, `mac`, `bundle`, and `air`."); console.info(" --storepass PASSWORD The password used when signing and packaging an Adobe AIR application. If not specified, prompts for the password."); - console.info(" --unpackage-anes Unpackage native extensions to the output directory when creating a debug build for the Adobe AIR simulator."); + console.info(" --unpackage-anes Unpackage native extensions to the output directory for the Adobe AIR simulator."); console.info(" --animate FILE Specify the path to the Adobe Animate executable."); console.info(" --publish-animate Publish Adobe Animate document, instead of only exporting the SWF."); console.info(" --clean Clean the output directory. Will not build the project."); @@ -1754,11 +1754,6 @@ package //don't copy anything if it's not requested. return; } - if(!this._debugBuild) - { - //don't copy anything when it's a release build. - return; - } if(this._compilerOptionsJSON === null) { //the compilerOptions field is not defined, so there's nothing to copy