fix build
This commit is contained in:
parent
92459f7d46
commit
ee48f63586
1 changed files with 4 additions and 1 deletions
|
@ -35,7 +35,10 @@ async function createContext(options: BuildOptions) {
|
||||||
}
|
}
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
copyFile("./node_modules/@vencord/venmic/build/Release/venmic-addon.node", "./static/dist/venmic.node"),
|
copyFile(
|
||||||
|
"./node_modules/@vencord/venmic/prebuilds/venmic-addon-linux-x64/node-napi-v7.node",
|
||||||
|
"./static/dist/venmic.node"
|
||||||
|
),
|
||||||
createContext({
|
createContext({
|
||||||
...NodeCommonOpts,
|
...NodeCommonOpts,
|
||||||
entryPoints: ["src/main/index.ts"],
|
entryPoints: ["src/main/index.ts"],
|
||||||
|
|
Reference in a new issue