(platform)
| 100 | this.environment.NAME = parts.name + parts.extension; |
| 101 | } |
| 102 | parseBuild(platform) { |
| 103 | let properties = platform.build; |
| 104 | if (properties) { |
| 105 | for (let name in properties) { |
| 106 | let value = properties[name]; |
| 107 | if (typeof value == "string") |
| 108 | this.environment[name] = this.resolveVariable(value); |
| 109 | else |
| 110 | this.environment[name] = value; |
| 111 | } |
| 112 | } |
| 113 | } |
| 114 | parseManifest(path) { |
| 115 | const buffer = this.readFileString(path); |
| 116 | try { |