From 71bf8019234fd558ac4b32cd3666618ed452cf40 Mon Sep 17 00:00:00 2001 From: Maxim <74974283+maximka76667@users.noreply.github.com> Date: Mon, 16 Feb 2026 14:22:52 +0100 Subject: [PATCH 1/3] docs: fix README.md --- electron-app/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/electron-app/README.md b/electron-app/README.md index 4eecf6b92..c83ae7dad 100644 --- a/electron-app/README.md +++ b/electron-app/README.md @@ -30,12 +30,11 @@ When running in development mode (unpackaged), the application creates temporary **Note**: These files and directories are created in the `electron-app/` directory root during development. In production (packaged) mode: -- **Configuration and Logs**: Stored in `{UserConfigDir}/hyperloop-control-station/` (using Go's `os.UserConfigDir()`) +- **Configuration and Logs**: Stored in `{UserConfigDir}/electron-app/` (using Go's `os.UserConfigDir()`) + - Config files and backups: `{UserConfigDir}/electron-app/configs/` + - Trace/log files: `{UserConfigDir}/electron-app/trace-*.json` - - Config files and backups: `{UserConfigDir}/hyperloop-control-station/configs/` - - Trace/log files: `{UserConfigDir}/hyperloop-control-station/trace-*.json` - -- **ADJ Module**: Stored in `{UserCacheDir}/hyperloop-control-station/adj/` (using Go's `os.UserCacheDir()`) +- **ADJ Module**: Stored in `{UserCacheDir}/electron-app/adj/` (using Go's `os.UserCacheDir()`) - Binaries and resources are bundled within the application package. From 2865e62ed5f2fce110af73f73b488c0e3eaf823a Mon Sep 17 00:00:00 2001 From: Maxim <74974283+maximka76667@users.noreply.github.com> Date: Mon, 16 Feb 2026 14:25:18 +0100 Subject: [PATCH 2/3] fix: path --- electron-app/README.md | 8 ++++---- electron-app/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/electron-app/README.md b/electron-app/README.md index c83ae7dad..146d8d643 100644 --- a/electron-app/README.md +++ b/electron-app/README.md @@ -30,11 +30,11 @@ When running in development mode (unpackaged), the application creates temporary **Note**: These files and directories are created in the `electron-app/` directory root during development. In production (packaged) mode: -- **Configuration and Logs**: Stored in `{UserConfigDir}/electron-app/` (using Go's `os.UserConfigDir()`) - - Config files and backups: `{UserConfigDir}/electron-app/configs/` - - Trace/log files: `{UserConfigDir}/electron-app/trace-*.json` +- **Configuration and Logs**: Stored in `{UserConfigDir}/hyperloop-control-station/` (using Go's `os.UserConfigDir()`) + - Config files and backups: `{UserConfigDir}/hyperloop-control-station/configs/` + - Trace/log files: `{UserConfigDir}/hyperloop-control-station/trace-*.json` -- **ADJ Module**: Stored in `{UserCacheDir}/electron-app/adj/` (using Go's `os.UserCacheDir()`) +- **ADJ Module**: Stored in `{UserCacheDir}/hyperloop-control-station/adj/` (using Go's `os.UserCacheDir()`) - Binaries and resources are bundled within the application package. diff --git a/electron-app/package.json b/electron-app/package.json index a37d20f36..0c6c1eb4c 100644 --- a/electron-app/package.json +++ b/electron-app/package.json @@ -1,5 +1,5 @@ { - "name": "electron-app", + "name": "hyperloop-control-station", "version": "1.0.0", "description": "Hyperloop UPV Control Station", "main": "main.js", From 7ca5f4943dfbe629556603544d2c76dce5aa2cca Mon Sep 17 00:00:00 2001 From: Maxim <74974283+maximka76667@users.noreply.github.com> Date: Mon, 16 Feb 2026 14:29:58 +0100 Subject: [PATCH 3/3] fix 2 --- electron-app/main.js | 2 ++ electron-app/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/electron-app/main.js b/electron-app/main.js index 2ccc19c9f..ef5841b58 100644 --- a/electron-app/main.js +++ b/electron-app/main.js @@ -18,6 +18,8 @@ const { autoUpdater } = pkg; // Setup IPC handlers for renderer process communication setupIpcHandlers(); +app.setName("hyperloop-control-station"); + // App lifecycle: wait for Electron to be ready app.whenReady().then(async () => { // Initialize ConfigManager and ensure config exists BEFORE starting backend diff --git a/electron-app/package.json b/electron-app/package.json index 0c6c1eb4c..a37d20f36 100644 --- a/electron-app/package.json +++ b/electron-app/package.json @@ -1,5 +1,5 @@ { - "name": "hyperloop-control-station", + "name": "electron-app", "version": "1.0.0", "description": "Hyperloop UPV Control Station", "main": "main.js",