From 1cc36b9098692d0b274ff046da0b998cfce8a666 Mon Sep 17 00:00:00 2001 From: UUBulb <35923940+uubulb@users.noreply.github.com> Date: Thu, 5 Dec 2024 17:04:49 +0800 Subject: [PATCH] chore: windows env typo (#27) --- src/components/install-commands.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/install-commands.tsx b/src/components/install-commands.tsx index 1b8b259..f0ba211 100644 --- a/src/components/install-commands.tsx +++ b/src/components/install-commands.tsx @@ -68,7 +68,7 @@ const generateCommand = (type: number, { agent_secret_key, install_host, tls }: throw new Error(i18next.t("Results.InstallHostRequired")); const env = `NZ_SERVER=${install_host} NZ_TLS=${tls || false} NZ_CLIENT_SECRET=${agent_secret_key}`; - const env_win = `$env:NZ_SERVER=\"${install_host}\";$env:NZ_TLS=\"${tls || false}\";$env:NZ_CLIENT_SECRET=\"${agent_secret_key}\;"`; + const env_win = `$env:NZ_SERVER=\"${install_host}\";$env:NZ_TLS=\"${tls || false}\";$env:NZ_CLIENT_SECRET=\"${agent_secret_key}\";`; switch (type) { case OSTypes.Linux: