修复系统安装依赖提示

This commit is contained in:
whyour
2025-12-11 01:53:50 +08:00
parent 4fa6adc590
commit 671be89446
2 changed files with 24 additions and 6 deletions
+2
View File
@@ -633,6 +633,8 @@ export async function detectOS(): Promise<
Logger.error(`Unknown Linux Distribution: ${osReleaseInfo}`);
console.error(`Unknown Linux Distribution: ${osReleaseInfo}`);
}
} else if (platform === 'darwin') {
osType = undefined;
} else {
Logger.error(`Unsupported platform: ${platform}`);
console.error(`Unsupported platform: ${platform}`);