Skip to content

Analysis and implementation plan for repository issues#15

Merged
NamecoinGithub merged 3 commits into
Mergingfrom
copilot/analysis-implementation-plan
Jul 9, 2026
Merged

Analysis and implementation plan for repository issues#15
NamecoinGithub merged 3 commits into
Mergingfrom
copilot/analysis-implementation-plan

Conversation

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown

Pull request created by AI Agent

@NamecoinGithub
NamecoinGithub marked this pull request as ready for review July 9, 2026 13:36
Copilot AI review requested due to automatic review settings July 9, 2026 13:36
@NamecoinGithub
NamecoinGithub merged commit 6afcfad into Merging Jul 9, 2026
1 check passed

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 extends Nexus Core management to support an externally configured Core binary path (via settings and env overrides), improves the error surfaced when the Core binary is missing, and updates the Electron/build toolchain dependencies.

Changes:

  • Add an embeddedCoreBinaryPath setting and expose it in the Core settings UI.
  • Introduce a core-binary-status IPC endpoint and use it to provide a more actionable “core not found” error.
  • Upgrade Electron and several build dependencies (webpack/babel-loader/electron-builder) with corresponding lockfile updates.

Reviewed changes

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

Show a summary per file
File Description
src/shared/lib/settings/defaultSettings.ts Adds embeddedCoreBinaryPath to the Settings type and defaults.
src/shared/lib/core.ts Improves missing-core error by querying core-binary-status over IPC.
src/main/renderer.js Adds a security TODO comment for future hardening of renderer preferences.
src/main/main.js Registers new core-binary-status IPC handler.
src/main/keyboard.js Adds a security TODO comment for future hardening of keyboard window isolation.
src/main/core.js Implements configured Core binary path resolution + status reporting and refactors core process management around it.
src/App/Settings/Core/EmbeddedCoreSettings.tsx Adds UI field for “Core Binary Path”.
package.json Updates Electron and build tooling dependency versions.
package-lock.json Lockfile changes reflecting the dependency updates.

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

Comment thread package.json
Comment on lines +217 to +218
"electron": "43.1.0",
"electron-builder": "26.15.3",
Comment thread src/main/core.js
Comment on lines +53 to +55
try {
fs.accessSync(coreBinaryPath, fs.constants.X_OK);
return {
Comment thread src/main/core.js
Comment on lines 150 to 155
} else {
PID = (
await exec('ps -o pid --no-headers -p 1 -C ${Nexus_Daemon}', [], {
await exec('ps -o pid --no-headers -p 1 -C ${Nexus_Daemon}', {
env: modEnv,
})
)
Comment thread package.json
"csv-stringify": "^6.5.2",
"electron": "^26.6.10",
"electron-builder": "26.13.1",
"electron": "43.1.0",
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.

3 participants