From 2908462fa7a9364ded0df105e8df5e9a3d22d950 Mon Sep 17 00:00:00 2001 From: Carlos Date: Tue, 31 Oct 2023 00:26:31 -0300 Subject: [PATCH] Updates the GUI to start the launcher instead of the real agent, which is now a CLI application Also updates test code that builds the agent The GUI expects the launcher now. --- gui/packages/ubuntupro/integration_test/utils/build_agent.dart | 2 +- gui/packages/ubuntupro/lib/constants.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/packages/ubuntupro/integration_test/utils/build_agent.dart b/gui/packages/ubuntupro/integration_test/utils/build_agent.dart index 1aa50f305..c675cc875 100644 --- a/gui/packages/ubuntupro/integration_test/utils/build_agent.dart +++ b/gui/packages/ubuntupro/integration_test/utils/build_agent.dart @@ -7,7 +7,7 @@ import 'package:path/path.dart' as p; /// A try-catch block (on AssertionError) can still prevent process exit. Future buildAgentExe( String destination, { - String exeName = 'ubuntu-pro-agent.exe', + String exeName = 'ubuntu-pro-agent-launcher.exe', }) async { const config = 'Debug'; const platform = 'x64'; diff --git a/gui/packages/ubuntupro/lib/constants.dart b/gui/packages/ubuntupro/lib/constants.dart index 713f326ad..13e1224eb 100644 --- a/gui/packages/ubuntupro/lib/constants.dart +++ b/gui/packages/ubuntupro/lib/constants.dart @@ -11,4 +11,4 @@ const kAddrFileName = 'addr'; const kDefaultMargin = 32.0; /// The path of the agent executable relative to the msix root directory. -const kAgentRelativePath = 'agent/ubuntu-pro-agent.exe'; +const kAgentRelativePath = 'agent/ubuntu-pro-agent-launcher.exe';