From b71f4005aa1ad569226bb67c9bff65d458ce3872 Mon Sep 17 00:00:00 2001 From: lfy Date: Wed, 9 Oct 2024 21:41:25 +0800 Subject: [PATCH] fix: resolve issue where the 'arch' option was not taking effect during installation --- src/pages/versions/modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/versions/modal.tsx b/src/pages/versions/modal.tsx index ab55cc8..ce390df 100644 --- a/src/pages/versions/modal.tsx +++ b/src/pages/versions/modal.tsx @@ -115,7 +115,7 @@ export const Modal = forwardRef(({ onRefrresh }, ref) => { setPath(undefined); progress.current = undefined; try { - const path = await installNode(record.current!.version.slice(1)); + const path = await installNode(record.current!.version.slice(1), arch.current!.innerText); progress.current = { ...progress.current!,