From 87e7ad788746e6870be792c0170da2099d793ca4 Mon Sep 17 00:00:00 2001 From: unitycoder Date: Thu, 31 May 2018 22:13:13 +0800 Subject: [PATCH] fix version detector crash fixes #64 --- UnityLauncher/Tools.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnityLauncher/Tools.cs b/UnityLauncher/Tools.cs index 0c8dec8..729fce1 100644 --- a/UnityLauncher/Tools.cs +++ b/UnityLauncher/Tools.cs @@ -300,7 +300,7 @@ public static string GetProjectVersion(string path) { // in text format, then we need to try library file instead var newVersionPath = Path.Combine(path, "Library", "AnnotationManager"); - if (File.Exists(versionPath) == true) + if (File.Exists(newVersionPath) == true) { versionPath = newVersionPath; }