diff --git a/package-lock.json b/package-lock.json index 89e65de..b9c93a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "asconfigc", - "version": "1.8.0", + "version": "1.8.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "asconfigc", - "version": "1.8.0", + "version": "1.8.1", "license": "Apache-2.0", "dependencies": { "adm-zip": "^0.4.16", diff --git a/package.json b/package.json index b93a9cf..b25efa6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "asconfigc", - "version": "1.8.0", + "version": "1.8.1", "description": "Builds an ActionScript & MXML project configured with asconfig.json, from simple compilation to packaging Adobe AIR apps.", "author": "Josh Tynjala", "repository": "BowlerHatLLC/asconfigc", diff --git a/src/ASConfigC.as b/src/ASConfigC.as index d09a869..7a0aa2b 100644 --- a/src/ASConfigC.as +++ b/src/ASConfigC.as @@ -744,7 +744,7 @@ package this._allModuleCompilerArgs.push(moduleCompilerArgs); } if (moduleCount > 0) { - this._compilerArgs.push("--" + CompilerOptions.LINK_REPORT + "+=" + linkReportPath); + this._compilerArgs.push("--" + CompilerOptions.LINK_REPORT + "+=" + escapePath(linkReportPath)); } } if(TopLevelFields.WORKERS in configData) @@ -797,7 +797,7 @@ package for (i = 0; i < fileCount; i++) { file = files[i]; - this._compilerArgs.push(file); + this._compilerArgs.push(escapePath(file)); } } } @@ -817,7 +817,7 @@ package //terminate previous options and start default options this._compilerArgs.push("--"); } - this._compilerArgs.push(this._mainFile); + this._compilerArgs.push(escapePath(this._mainFile)); } if(TopLevelFields.ANIMATE_OPTIONS in configData) {