Skip to content

Commit 100aff1

Browse files
committed
feat: add Windows ARM64 support to agent installation platforms
1 parent 893bec9 commit 100aff1

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

frontend/src/app/app-module/guides/shared/constant.ts

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,31 @@ export interface Platform {
77
restart: string;
88
}
99

10-
export const createPlatforms = (windowsCommand: string,
10+
export const createPlatforms = (windowsCommandAMD64: string,
11+
windowsCommandARM64: string,
1112
linuxCommand: string,
1213
windowsPath?: string,
1314
windowsRestart?: string,
1415
linuxPath?: string,
1516
linuxRestart?: string) => [
1617
{
1718
id: 1,
18-
name: 'WINDOWS',
19-
command: windowsCommand,
19+
name: 'WINDOWS (AMD64)',
20+
command: windowsCommandAMD64,
2021
shell: 'Run the following powershell script as “ADMINISTRATOR” in a Server with the UTMStack agent Installed.',
2122
path: windowsPath,
2223
restart: windowsRestart
2324
},
2425
{
2526
id: 2,
27+
name: 'WINDOWS (ARM64)',
28+
command: windowsCommandARM64,
29+
shell: 'Run the following powershell script as “ADMINISTRATOR” in a Server with the UTMStack agent Installed.',
30+
path: windowsPath,
31+
restart: windowsRestart
32+
},
33+
{
34+
id: 3,
2635
name: 'LINUX',
2736
command: linuxCommand,
2837
shell: 'Run the following bash script as “ADMINISTRATOR” in a Server with the UTMStack agent Installed.',
@@ -35,6 +44,8 @@ export const createPlatforms = (windowsCommand: string,
3544
export const PLATFORMS = createPlatforms(
3645
'Start-Process "C:\\Program Files\\UTMStack\\UTMStack Agent\\utmstack_agent_service.exe" -ArgumentList \'ACTION\',' +
3746
' \'AGENT_NAME\', \'PORT\' -NoNewWindow -Wait\n',
47+
'Start-Process "C:\\Program Files\\UTMStack\\UTMStack Agent\\utmstack_agent_service_arm64.exe" -ArgumentList \'ACTION\',' +
48+
' \'AGENT_NAME\', \'PORT\' -NoNewWindow -Wait\n',
3849
'sudo bash -c "/opt/utmstack-linux-agent/utmstack_agent_service ACTION AGENT_NAME PORT"'
3950
);
4051

0 commit comments

Comments
 (0)