From 1787d5372ea4f13e46cd8ff14be38ee8109d600c Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Wed, 17 Sep 2025 14:44:53 +0800 Subject: [PATCH] fix: Update OS_PLATFORM definition to reflect the current platform --- vite.config.mts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.mts b/vite.config.mts index 78500895..192b2040 100644 --- a/vite.config.mts +++ b/vite.config.mts @@ -162,6 +162,6 @@ export default defineConfig({ }, define: { - OS_PLATFORM: '"unknown"', + OS_PLATFORM: `"${process.platform}"`, }, });