dev_split_view_vm
SONGE9B3\song_pd_win11 2 years ago
parent 89d6a03df6
commit e5440275c2

@ -236,5 +236,20 @@ namespace STranslate.Util
return strA_Z; return strA_Z;
} }
#endregion #endregion
public static bool Get_OSVersion()
{
try
{
OperatingSystem os = Environment.OSVersion;
Version ver = os.Version;
return true;
}
catch (Exception e)
{
return false;
}
}
} }
} }

@ -22,6 +22,7 @@ namespace STranslate.ViewModel
{ {
_Mainwin = (MainWindow)win; _Mainwin = (MainWindow)win;
OpenMainWin(); OpenMainWin();
Util.Util.Get_OSVersion();
if (!ReadConfig()) if (!ReadConfig())
{ {

Loading…
Cancel
Save