diff options
author | Vendicated <vendicated@riseup.net> | 2022-10-22 23:47:21 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-10-22 23:47:26 +0200 |
commit | 409fb6ff4e32131aa2a7ca5f9733c17d8a69f13f (patch) | |
tree | d2ec621184569efd258c54c00825abe2c8907a36 /scripts/build | |
parent | 934a89add0f68e9a0c8a28bf182e773bc6f93b2a (diff) | |
download | Vencord-409fb6ff4e32131aa2a7ca5f9733c17d8a69f13f.tar.gz Vencord-409fb6ff4e32131aa2a7ca5f9733c17d8a69f13f.tar.bz2 Vencord-409fb6ff4e32131aa2a7ca5f9733c17d8a69f13f.zip |
encoding binary doesn't return a buffer??
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/buildWeb.mjs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/buildWeb.mjs b/scripts/build/buildWeb.mjs index 4d6cf3d..009d5e8 100755 --- a/scripts/build/buildWeb.mjs +++ b/scripts/build/buildWeb.mjs @@ -71,11 +71,11 @@ await Promise.all( zip({ dist: { - "Vencord.js": readFileSync("dist/browser.js", "binary") + "Vencord.js": readFileSync("dist/browser.js") }, ...Object.fromEntries(await Promise.all(["background.js", "content.js", "manifest.json"].map(async f => [ f, - await readFile(join("browser", f), "binary") + await readFile(join("browser", f)) ]))), }, {}, (err, data) => { if (err) { |