diff --git a/next-env.d.ts b/next-env.d.ts index c4b7818..9edff1c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,6 @@ /// /// -import "./.next/dev/types/routes.d.ts"; +import "./.next/types/routes.d.ts"; // NOTE: This file should not be edited // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 73ac920..6b41bfd 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -25,7 +25,14 @@ "windows": { "certificateThumbprint": null, "digestAlgorithm": "sha256", - "timestampUrl": "" + "timestampUrl": "", + "nsis": { + "languages": [ + "SimpChinese", + "English", + "TradChinese" + ] + } }, "longDescription": "", "macOS": { @@ -82,7 +89,7 @@ "theme": null, "hiddenTitle": true, "titleBarStyle": "Transparent", - "visible": false + "visible": false } ], "security": { diff --git a/src/components/cstb/FpsTest.tsx b/src/components/cstb/FpsTest.tsx index 4df7487..7b5932e 100644 --- a/src/components/cstb/FpsTest.tsx +++ b/src/components/cstb/FpsTest.tsx @@ -817,14 +817,20 @@ export function FpsTest() { {result.p1 !== null ? `${result.p1.toFixed(1)}` : "N/A"} - - {result.hardwareInfo?.cpu || "N/A"} + + + {result.hardwareInfo?.cpu || "N/A"} + - - {result.hardwareInfo?.os || "N/A"} + + + {result.hardwareInfo?.os || "N/A"} + - - {result.hardwareInfo?.gpu || "N/A"} + + + {result.hardwareInfo?.gpu || "N/A"} + {result.hardwareInfo?.memory ? `${result.hardwareInfo.memory}GB` : "N/A"}