encoding binary doesn't return a buffer??

main
Vendicated 2 years ago
parent 934a89add0
commit 409fb6ff4e
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3

@ -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) {

Loading…
Cancel
Save