diff --git a/README.md b/README.md
index 2886627..fb16fe9 100644
--- a/README.md
+++ b/README.md
@@ -128,6 +128,13 @@
Updates
+2024-10-13: v1.0.1
+
+
+ - Fixed Version Check URL being incorrect
+
+
+
2024-09-29: v1.0.0
diff --git a/Unity-Animation-Toggle-Generator/Assets/AnimationToggleGenerator/Editor/MintyToggleGenerator.cs b/Unity-Animation-Toggle-Generator/Assets/AnimationToggleGenerator/Editor/MintyToggleGenerator.cs
index 6bc6a71..de687be 100644
--- a/Unity-Animation-Toggle-Generator/Assets/AnimationToggleGenerator/Editor/MintyToggleGenerator.cs
+++ b/Unity-Animation-Toggle-Generator/Assets/AnimationToggleGenerator/Editor/MintyToggleGenerator.cs
@@ -10,7 +10,7 @@
using VRC.SDK3.Avatars.ScriptableObjects;
public class MintyToggleGenerator : EditorWindow {
- private const string Version = "1.0.0";
+ private const string Version = "1.0.1";
private const string LogPrefix = "[MintyToggle Generator] ";
private static readonly string ProjectUserAgent = $"MintyToggleGenerator/{Version} Internal UnityWebRequest";
private static bool _updateAvailable;
@@ -48,7 +48,7 @@ private static void CheckForUpdate() {
Debug.Log(LogPrefix + "Checking for updates...");
var wc = new WebClient();
wc.Headers.Add("User-Agent", ProjectUserAgent);
- _newVersionString = wc.DownloadString("https://raw.githubusercontent.com/Minty-Labs/Unity-Tools/main/Animation-Toggle-Generator/Remote/version.txt");
+ _newVersionString = wc.DownloadString("https://raw.githubusercontent.com/Minty-Labs/Unity-Tools/refs/heads/main/Unity-Animation-Toggle-Generator/Remote/version.txt");
_updateAvailable = _newVersionString != Version;
Debug.Log(LogPrefix + (_updateAvailable ? "Update Available" : "No Update Available"));
wc.Dispose();
@@ -546,7 +546,7 @@ private void CreateAnimatorLayer(AnimationClip enabledClip, AnimationClip disabl
// Allows you get the current folder that is opened in the project window
private static string GetSelectedPathOrFallback() {
var path = "Assets";
-
+
foreach (var obj in Selection.GetFiltered(typeof(Object), SelectionMode.Assets)) {
path = AssetDatabase.GetAssetPath(obj);
if (string.IsNullOrEmpty(path) || !File.Exists(path)) continue;
diff --git a/Unity-Animation-Toggle-Generator/Remote/version.txt b/Unity-Animation-Toggle-Generator/Remote/version.txt
index afaf360..7f20734 100644
--- a/Unity-Animation-Toggle-Generator/Remote/version.txt
+++ b/Unity-Animation-Toggle-Generator/Remote/version.txt
@@ -1 +1 @@
-1.0.0
\ No newline at end of file
+1.0.1
\ No newline at end of file