Skip to content

Version 0.20260714.0#528

Merged
agarny merged 7 commits into
opencor:mainfrom
agarny:cleaning-up
Jul 13, 2026
Merged

Version 0.20260714.0#528
agarny merged 7 commits into
opencor:mainfrom
agarny:cleaning-up

Conversation

@agarny

@agarny agarny commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 13, 2026 08:43

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

This PR bumps the application version to 0.20260713.0, updates key toolchain dependencies (Vite/TypeScript/Electron/etc.), and adjusts the renderer/Vite configuration to work better in a Bun-based workflow (including ensuring the Electron binary gets installed).

Changes:

  • Update versions and refresh lockfiles across root and renderer packages.
  • Add a postinstall hook to explicitly run Electron’s installer script when using Bun.
  • Update Vite + Electron-Vite configs (Vue plugin script.fs hooks; main ssr.external) and harden electronApi export for non-browser contexts.

Reviewed changes

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

Show a summary per file
File Description
src/renderer/vite.config.ts Configures Vue plugin script.fs hooks (Node fs) for the renderer Vite build.
src/renderer/src/common/electronApi.ts Avoids accessing window when not in a browser environment.
src/renderer/scripts/ensure.electron.js New postinstall helper to run Electron’s install script under Bun workflows.
src/renderer/package.json Bumps renderer package version and updates devDependencies.
src/renderer/bun.lock Updates renderer lockfile to match dependency updates.
package.json Bumps root version, updates devDependencies, and adds a postinstall script.
electron.vite.config.ts Mirrors Vue plugin fs changes and adds main ssr.external configuration.
bun.lock Updates root lockfile to match dependency updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/renderer/scripts/ensure.electron.js Outdated
@agarny agarny force-pushed the cleaning-up branch 2 times, most recently from 2af226b to 1f3a6b2 Compare July 13, 2026 12:18
@agarny agarny changed the title Version 0.20260713.0 Version 0.20260714.0 Jul 13, 2026
@agarny agarny requested a review from Copilot July 13, 2026 13:03

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 9 out of 12 changed files in this pull request and generated 2 comments.

Comment thread src/renderer/scripts/libopencor.version.ts Outdated
Comment thread src/renderer/scripts/type.check.js Outdated
agarny added 4 commits July 14, 2026 01:25
We need to do this as a result of Bun's package manager deliberately skipping lifecycle scripts from dependencies, so the Electron binary was never installed.
@agarny agarny merged commit 376ed1c into opencor:main Jul 13, 2026
15 of 18 checks passed
@agarny agarny deleted the cleaning-up branch July 13, 2026 13:52
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.

2 participants