Skip to content

Commit 7d643e5

Browse files
chore: upgrade Electron 29 -> 35 and related packages
- Upgrade electron to ^35, electron-builder to ^25, @electron/rebuild to ^3.7 - Upgrade electron-devtools-installer to ^4 and remove APOLLO_DEVELOPER_TOOLS (no longer exported in v4) - Requires manual app testing to verify USB native module and window behavior Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a7bf957 commit 7d643e5

File tree

3 files changed

+318
-193
lines changed

3 files changed

+318
-193
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
},
143143
"devDependencies": {
144144
"@babel/core": "^7.16.0",
145-
"@electron/rebuild": "^3.6.0",
145+
"@electron/rebuild": "^3.7",
146146
"@graphql-codegen/cli": "5.0.2",
147147
"@graphql-codegen/gql-tag-operations": "^4.0.6",
148148
"@graphql-codegen/gql-tag-operations-preset": "^2.1.0",
@@ -185,9 +185,9 @@
185185
"css-loader": "^6.5.1",
186186
"directory-tree": "^3.0.1",
187187
"dotenv": "^10.0.0",
188-
"electron": "^29.3.0",
189-
"electron-builder": "^24.13.3",
190-
"electron-devtools-installer": "^3.2.0",
188+
"electron": "^35",
189+
"electron-builder": "^25",
190+
"electron-devtools-installer": "^4",
191191
"esbuild-loader": "^2.21.0",
192192
"eslint": "^8.4.1",
193193
"eslint-config-airbnb": "^19.0.2",

src/main/index.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,12 @@ const createWindow = (): void => {
129129
const {
130130
default: installExtension,
131131
REACT_DEVELOPER_TOOLS,
132-
APOLLO_DEVELOPER_TOOLS,
133132
// eslint-disable-next-line import/no-extraneous-dependencies
134133
} = await import("electron-devtools-installer");
135134
installExtension(REACT_DEVELOPER_TOOLS).catch((err) =>
136135
// eslint-disable-next-line no-console
137136
console.log("Error loading React DevTools: ", err)
138137
);
139-
installExtension(APOLLO_DEVELOPER_TOOLS).catch((err) =>
140-
// eslint-disable-next-line no-console
141-
console.log("Error loading Apollo DevTools: ", err)
142-
);
143138
mainWindow?.webContents.openDevTools({ mode: "detach" });
144139
}
145140
});

0 commit comments

Comments
 (0)