Skip to content

Commit 4aa05a5

Browse files
committed
udpapte
1 parent 5f2c45d commit 4aa05a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bundle.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,10 @@ async function copyHarmonyBundle(outputFolder: string) {
286286
} catch (error) {
287287
await fs.chmod(harmonyRawPath, 0o755);
288288
}
289+
await fs.remove(path.join(harmonyRawPath, 'update.json'));
290+
await fs.copy('update.json', path.join(harmonyRawPath, 'update.json'));
289291
await fs.ensureDir(outputFolder);
292+
290293
const files = await fs.readdir(harmonyRawPath);
291294
for (const file of files) {
292295
if (file !== 'update.json' && file !== 'meta.json') {

0 commit comments

Comments
 (0)