Repository navigation
fix(ui): ship the Agent UI desktop executable as gaia-ui - #6033
Draft
kovtcharov wants to merge 1 commit into
Draft
kovtcharov wants to merge 1 commit into
kovtcharov wants to merge 1 commit into
Conversation
The desktop app's executable was gaia-desktop, a name that matched none of GAIA's other products. It is now gaia-ui (gaia-ui.exe on Windows, the binary inside GAIA.app on macOS, /opt/GAIA/gaia-ui on Linux). Installed users upgrade cleanly: electron-builder's upgrade removes the old exe and re-creates the shortcuts and the Run key against the new one. The combined Windows setup also refuses to replace a still-running gaia-desktop.exe. A Linux "start at sign-in" entry that still names the old binary is rewritten at startup.
Contributor
Author
|
Left as a draft: this no longer merges with main without redoing the rename, so I did not push anything. Since this branch was cut, main has built more on the
That needs a fresh pass on current main and a packaging run on Windows and Linux. It also needs a decision first: main has since moved the Linux package to the |
7 tasks done
This branch has not been deployed
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.
The desktop app's executable was called
gaia-desktop, which doesn't match any other GAIA product name. It now ships asgaia-ui(gaia-ui.exeon Windows). People who already have the app upgrade in place. The old exe is removed, and shortcuts and start-at-sign-in now point at the new one. The installer names (gaia-agent-ui-<version>-*) and the Linux package name don't change.gaia-desktop.exethat is still running. On Linux, a "start at sign-in" entry that still points at the old binary is rewritten when the app starts. Without that, sign-in start would silently stop working after a.debupgrade.Programs\gaia-desktopfolder; only fresh installs getPrograms\gaia-ui. The npm package's launcher is also calledgaia-ui. Both launch the Agent UI, and nothing looks either one up on PATH.🔍 Technical details
--no-sandboxwrapper now readscontext.packager.executableNameinstead of a hard-coded name. A rename can no longer silently skip the wrapper.gaia-desktop.exeis still there, and the leftovers check covers both install folders..debapt remove gaia-desktopdoc lines are left alone: the package name isn't changing, and the docs being wrong about it is The desktop app's .deb and the terminal's .deb are both named 'gaia', so installing one replaces the other #5527.Test plan
npx electron-builder --win --dirproduceswin-unpacked/gaia-ui.execd tests/electron && npx jest: 1253 passed, including the new autostart repoint testpytest tests/unit/installer/test_single_installer.py tests/unit/installer/test_installer_headless.py: 90 passedinstaller/tui/nsis/smoke-test.ps1) and the headlesswin-setup-upgradejourney, on the release pipeline.debjourney:/opt/GAIA/gaia-uiis installed and the menu entry launches it