From 2632603fef7f5ba686274cd5c8efbd181ed1f78f Mon Sep 17 00:00:00 2001 From: BelicusBr Date: Sat, 5 Nov 2022 23:55:56 -0300 Subject: [PATCH] #Update-vs1.0.24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## [1.0.24] 05/11/2022 ### (Fix)ChangeVersionWin.cs O método `ChangeVersionWin.LoadConfig()` não possuia uma verificação que determina
se o arquivo Config.txt existe. --- CHANGELOG.md | 4 ++++ Editor/Change version/ChangeVersionWin.cs | 1 + Editor/Cobilas.Unity.Editor.Utility.asmdef | 3 +-- com.cobilas.unity.utility.gpack | 10 +++------- package.json | 11 +++++------ 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7de673..025ca04 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Changelog +## [1.0.24] 05/11/2022 +### (Fix)ChangeVersionWin.cs +O método `ChangeVersionWin.LoadConfig()` não possuia uma verificação que determina
+se o arquivo Config.txt existe. ## [1.0.23] 20/09/2022 ### (Change) ChangeVersion O ChangeVersion foi transformado em janela agora. diff --git a/Editor/Change version/ChangeVersionWin.cs b/Editor/Change version/ChangeVersionWin.cs index 71991f0..c2876cf 100644 --- a/Editor/Change version/ChangeVersionWin.cs +++ b/Editor/Change version/ChangeVersionWin.cs @@ -137,6 +137,7 @@ private static void UnloadConfig(ChangeVersionConfig config) { } private static ChangeVersionConfig LoadConfig() { + if (!File.Exists(ChangeConfigFile)) return new ChangeVersionConfig(); ChangeVersionConfig res = new ChangeVersionConfig(); using (StreamReader reader = File.OpenText(ChangeConfigFile)) { string temp = reader.ReadLine(); diff --git a/Editor/Cobilas.Unity.Editor.Utility.asmdef b/Editor/Cobilas.Unity.Editor.Utility.asmdef index 3f5e1ca..0eafdbb 100644 --- a/Editor/Cobilas.Unity.Editor.Utility.asmdef +++ b/Editor/Cobilas.Unity.Editor.Utility.asmdef @@ -1,8 +1,7 @@ { "name": "Cobilas.Unity.Editor.Utility", "references": [ - "Cobilas.Unity.Utility", - "Cobilas.Unity.Editor.Extensions" + "Cobilas.Unity.Utility" ], "includePlatforms": [ "Editor" diff --git a/com.cobilas.unity.utility.gpack b/com.cobilas.unity.utility.gpack index 4220560..55120d8 100644 --- a/com.cobilas.unity.utility.gpack +++ b/com.cobilas.unity.utility.gpack @@ -1,6 +1,6 @@ { "name": "com.cobilas.unity.utility", - "version": "1.0.22", + "version": "1.0.24", "repository": "https://github.com/BelicusBr/com.cobilas.unity.utility.git", "relatedPackages": [ "1.0.17", @@ -9,18 +9,14 @@ "1.0.20", "1.0.21", "1.0.22", - "1.0.23" + "1.0.23", + "1.0.24" ], "gitDependencies": [ { "URL": "https://github.com/BelicusBr/com.cobilas.cobilascore.git", "name": "com.cobilas.cobilascore", "branch": "1.0.32" - }, - { - "URL": "https://github.com/BelicusBr/com.cobilas.unity.extensions.git", - "name": "com.cobilas.unity.extensions", - "branch": "1.0.13" } ] } \ No newline at end of file diff --git a/package.json b/package.json index ebb1b96..98650e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.cobilas.unity.utility", - "version": "1.0.23", + "version": "1.0.24", "displayName": "Cobilas Utility", "description": "Pacote de utilitarios para unity3d", "licensesUrl": "https://github.com/BelicusBr/com.cobilas.unity.utility/blob/main/LICENSE.md", @@ -8,15 +8,14 @@ "unity": "2019.1", "unityRelease": "0b5", "type": "cb-utility", - "author": { "name": "Cobilas CTB" }, "repository": { - "url" : "https://github.com/BelicusBr/com.cobilas.unity.utility.git", - "type" : "git" + "url": "https://github.com/BelicusBr/com.cobilas.unity.utility.git", + "type": "git" }, "publishConfig": { - "registry":"https://npm.pkg.github.com/@BelicusBr" + "registry": "https://npm.pkg.github.com/@BelicusBr" } -} +} \ No newline at end of file