From a4dcbe44e7baeb493bfa6491c6e5e734dc15b25c Mon Sep 17 00:00:00 2001 From: Ayushman Chhabra <14110965+ayushmanchhabra@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:35:39 +0530 Subject: [PATCH] fix(bld): JSON.stringify the updated manifest.json before writing to file --- src/bld.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bld.js b/src/bld.js index 2df43124..9c11bfb2 100644 --- a/src/bld.js +++ b/src/bld.js @@ -138,7 +138,7 @@ async function bld({ /* Set `product_string` in manifest for MacOS. This is used in renaming the Helper apps. */ if (platform === 'osx') { manifest.json.product_string = app.name; - await fs.promises.writeFile(manifest.path, manifest.json); + await fs.promises.writeFile(manifest.path, JSON.stringify(manifest.json)); } if (glob) {