Version 0.20260714.0#528
Merged
Merged
Conversation
There was a problem hiding this comment.
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
postinstallhook to explicitly run Electron’s installer script when using Bun. - Update Vite + Electron-Vite configs (Vue plugin
script.fshooks; mainssr.external) and hardenelectronApiexport 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.
2af226b to
1f3a6b2
Compare
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.