encoding binary doesn't return a buffer??
This commit is contained in:
parent
934a89add0
commit
409fb6ff4e
1 changed files with 2 additions and 2 deletions
|
@ -71,11 +71,11 @@ await Promise.all(
|
||||||
|
|
||||||
zip({
|
zip({
|
||||||
dist: {
|
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 => [
|
...Object.fromEntries(await Promise.all(["background.js", "content.js", "manifest.json"].map(async f => [
|
||||||
f,
|
f,
|
||||||
await readFile(join("browser", f), "binary")
|
await readFile(join("browser", f))
|
||||||
]))),
|
]))),
|
||||||
}, {}, (err, data) => {
|
}, {}, (err, data) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Reference in a new issue