diff --git a/COMCMS.Web/Views/Home/Install.cshtml b/COMCMS.Web/Views/Home/Install.cshtml index 910a6f8..887c0d0 100644 --- a/COMCMS.Web/Views/Home/Install.cshtml +++ b/COMCMS.Web/Views/Home/Install.cshtml @@ -37,10 +37,20 @@ @if (ViewBag.sqltype == "mysql") { + var isLinux = System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(System.Runtime.InteropServices.OSPlatform.Linux); + var defaultMysqlType = isLinux ? "linux" : "windows";
}