@htyf-mp/cli 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/build.mjs +3 -1
package/package.json
CHANGED
package/src/build.mjs
CHANGED
|
@@ -253,7 +253,9 @@ export async function mpBuildShell(newAppInfo, isGodot = false) {
|
|
|
253
253
|
// 将 app.json 复制到输出目录
|
|
254
254
|
await fse.ensureDir(outputPath);
|
|
255
255
|
await fse.copy(appJsonPath, path.join(outputPath, 'app.json'));
|
|
256
|
-
|
|
256
|
+
if (!isGodot) {
|
|
257
|
+
fse.copyFileSync(path.join(outputPath, '../manifest.json'), path.join(outputPath, 'manifest.json'));
|
|
258
|
+
}
|
|
257
259
|
|
|
258
260
|
// 压缩输出目录为最终包
|
|
259
261
|
const zipPath = await handleZip(outputPath, distPackagePath);
|