OSDN Git Service

OpenTween v3.11.0 リリース
[opentween/open-tween.git] / OpenTween / ApplicationPreconditions.cs
index 5e919aa..a9a021c 100644 (file)
@@ -59,16 +59,16 @@ namespace OpenTween
                 ShowMessageBox(message, MessageBoxIcon.Warning);
             }
 
-            if (!conditions.CheckApiKey())
+            if (!conditions.CheckRuntimeVersion())
             {
-                var message = Properties.Resources.WarnIfApiKeyError_Message;
+                var message = string.Format(Properties.Resources.CheckRuntimeVersion_Error, RuntimeMinimumVersionName);
                 ShowMessageBox(message, MessageBoxIcon.Error);
                 return false;
             }
 
-            if (!conditions.CheckRuntimeVersion())
+            if (!conditions.CheckApiKey())
             {
-                var message = string.Format(Properties.Resources.CheckRuntimeVersion_Error, RuntimeMinimumVersionName);
+                var message = Properties.Resources.WarnIfApiKeyError_Message;
                 ShowMessageBox(message, MessageBoxIcon.Error);
                 return false;
             }