Skip to content

Upgrade to Electron 43 - #25

Merged
sandboxcoder merged 4 commits into
masterfrom
rno/upgrade-electron43
Aug 27, 2026
Merged

sandboxcoder merged 4 commits into
masterfrom
rno/upgrade-electron43

Conversation

@sandboxcoder

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s Electron toolchain and CI configuration to build against Electron 43, aligning local/package dependencies, native-module header fetching, and the Windows GitHub Actions build environment.

Changes:

  • Bumps Electron dependency from 29.4.3 to 43.2.0.
  • Updates CMake header download/version configuration to match Electron 43.2.0.
  • Updates GitHub Actions build workflow environment (Electron version, Windows runner, setup-node action + Node version).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
package.json Updates the Electron devDependency to 43.2.0.
CMakeLists.txt Updates the header/version variable used for downloading Electron/Node headers to v43.2.0.
.github/workflows/build.yml Updates CI environment for Electron 43.2.0 and modernizes runner/setup-node settings.
Suppressed comments (1)

.github/workflows/build.yml:117

  • Same as above: ::set-output is deprecated and should be replaced with writing to $GITHUB_OUTPUT.
      - name: Get the version
        id: get_version
        run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
        shell: bash

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 37 to 40
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
shell: bash
Comment thread CMakeLists.txt
Comment on lines 10 to +12
SET(NODEJS_URL "https://artifacts.electronjs.org/headers/dist" CACHE STRING "Node.JS URL")
SET(NODEJS_NAME "iojs" CACHE STRING "Node.JS Name")
SET(NODEJS_VERSION "v29.4.3" CACHE STRING "Node.JS Version")
SET(NODEJS_VERSION "v43.2.0" CACHE STRING "Node.JS Version")

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread package.json

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.

Suppressed comments (1)

.github/workflows/build.yml:116

  • $GITHUB_OUTPUT can contain a path with spaces on Windows; redirecting without quotes is brittle. Quote the variable in the redirection target.
        run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT

Comment thread package.json
Comment on lines 3 to +7
"version": "1.0.7",
"main": "main.js",
"devDependencies": {
"colors": "^1.4.0",
"electron": "29.4.3",
"electron": "43.2.0",
Comment on lines +42 to 46
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '24.x'
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
Comment thread .github/workflows/build.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

Suppressed comments (1)

package.json:8

  • This change upgrades the repo to a Yarn Berry-style lockfile, but package.json doesn't declare a packageManager (Yarn version) to ensure consistent installs across dev machines/CI via Corepack. Without pinning, contributors may run a different Yarn major and either fail installs or churn yarn.lock unexpectedly.
  "devDependencies": {
    "colors": "^1.4.0",
    "electron": "43.2.0",
    "fs": "^0.0.1-security",

Comment on lines 45 to 46
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache
@sandboxcoder
sandboxcoder merged commit e771a07 into master Aug 27, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants