Skip to content

Commit a4888ac

Browse files
authored
fix: update @electron/rebuild version and update imports (#7541)
1 parent e83dc81 commit a4888ac

File tree

5 files changed

+12
-28
lines changed

5 files changed

+12
-28
lines changed

.changeset/shaggy-pumpkins-hear.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
Update `@electron/rebuild` to version `^3.2.11` and account for the new folder structure of the package.

packages/app-builder-lib/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@develar/schema-utils": "~2.6.5",
5151
"@electron/notarize": "^1.2.3",
5252
"@electron/osx-sign": "^1.0.4",
53-
"@electron/rebuild": "^3.2.10",
53+
"@electron/rebuild": "^3.2.11",
5454
"@electron/universal": "1.3.4",
5555
"@malept/flatpak-bundler": "^0.4.0",
5656
"async-exit-hook": "^2.0.1",

packages/app-builder-lib/src/electron/electronVersion.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getProjectRootPath } from "@electron/rebuild/lib/src/search-module"
1+
import { getProjectRootPath } from "@electron/rebuild/lib/search-module"
22
import { InvalidConfigurationError, log } from "builder-util"
33
import { parseXml } from "builder-util-runtime"
44
import { httpExecutor } from "builder-util/out/nodeHttpExecutor"

packages/app-builder-lib/src/util/yarn.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { homedir } from "os"
44
import * as path from "path"
55
import { Configuration } from "../configuration"
66
import * as electronRebuild from "@electron/rebuild"
7-
import * as searchModule from "@electron/rebuild/lib/src/search-module"
7+
import * as searchModule from "@electron/rebuild/lib/search-module"
88

99
export async function installOrRebuild(config: Configuration, appDir: string, options: RebuildOptions, forceInstall = false) {
1010
let isDependenciesInstalled = false

pnpm-lock.yaml

+4-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)