Skip to content

Conversation

@shannah
Copy link
Owner

@shannah shannah commented Jan 23, 2026

Summary

  • Add isSingleton() and setSingleton() accessors to JDeployProject model
  • Add "Singleton Application" checkbox to JavaRuntimePanel GUI
  • Update changelog with singleton feature documentation
  • Fix "Text file busy" error on Linux during updates by terminating Helper before installation

Test plan

  • Unit tests for JDeployProject singleton accessors (6 tests)
  • Unit tests for JavaRuntimePanel singleton checkbox (6 tests)
  • Manual test: Enable singleton in GUI and verify package.json is updated
  • Manual test: Build and run singleton app, verify only one instance runs
  • Manual test: Update app on Linux while service is running

shannah and others added 16 commits January 22, 2026 18:59
Add isSingleton() and setSingleton() methods to support singleton
application mode where only one instance can run at a time.
Add UI control for enabling singleton application mode where only
one instance can run at a time.
On Linux, you cannot overwrite an executable that's currently running.
The Helper process holds the launcher file open, causing updates to fail
with "Text file busy" error.

Changes:
- Add terminateHelperBeforeUpdate() called before installation
- Add delete-before-copy fallback for Linux launcher installation
- Helper is automatically reinstalled after update completes
@shannah shannah merged commit 1af6df0 into master Jan 25, 2026
11 checks passed
@shannah shannah deleted the feature/singleton-process branch January 25, 2026 13:05
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