Skip to content

Commit

Permalink
fix: update @electron/rebuild version and update imports (#7541)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickm95 committed Apr 13, 2023
1 parent e83dc81 commit a4888ac
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 28 deletions.
5 changes: 5 additions & 0 deletions .changeset/shaggy-pumpkins-hear.md
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

Update `@electron/rebuild` to version `^3.2.11` and account for the new folder structure of the package.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/package.json
Expand Up @@ -50,7 +50,7 @@
"@develar/schema-utils": "~2.6.5",
"@electron/notarize": "^1.2.3",
"@electron/osx-sign": "^1.0.4",
"@electron/rebuild": "^3.2.10",
"@electron/rebuild": "^3.2.11",
"@electron/universal": "1.3.4",
"@malept/flatpak-bundler": "^0.4.0",
"async-exit-hook": "^2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/electron/electronVersion.ts
@@ -1,4 +1,4 @@
import { getProjectRootPath } from "@electron/rebuild/lib/src/search-module"
import { getProjectRootPath } from "@electron/rebuild/lib/search-module"
import { InvalidConfigurationError, log } from "builder-util"
import { parseXml } from "builder-util-runtime"
import { httpExecutor } from "builder-util/out/nodeHttpExecutor"
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/util/yarn.ts
Expand Up @@ -4,7 +4,7 @@ import { homedir } from "os"
import * as path from "path"
import { Configuration } from "../configuration"
import * as electronRebuild from "@electron/rebuild"
import * as searchModule from "@electron/rebuild/lib/src/search-module"
import * as searchModule from "@electron/rebuild/lib/search-module"

export async function installOrRebuild(config: Configuration, appDir: string, options: RebuildOptions, forceInstall = false) {
let isDependenciesInstalled = false
Expand Down
29 changes: 4 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a4888ac

Please sign in to comment.