Skip to content

Commit

Permalink
chore: fix electron build
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jul 2, 2024
1 parent 32978ea commit 3a74849
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
11 changes: 11 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
nodeLinker: node-modules

# install everything, to allow for electron cross-building
supportedArchitectures:
os:
- win32
- linux
- darwin
cpu:
- x64
- arm64
- ia32
5 changes: 0 additions & 5 deletions tools/build_electron.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ if (platform === 'win-x64' || process.platform === 'win32') {
}
}

// Force reinstall @julusian/skia-canvas, so that it is the correct arch
if (nodePreGypArgs.length) {
await $`yarn --cwd node_modules/@julusian/skia-canvas run install --update-binary ${nodePreGypArgs}`
}

// HACK: skip this as it is trying to rebuild everything from source and failing
// if (!platform) {
// // If for our own platform, make sure the correct deps are installed
Expand Down

0 comments on commit 3a74849

Please sign in to comment.