Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
Updated to version 0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
AtiLion committed Sep 22, 2019
1 parent d564272 commit dc1aa08
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions VRCMenuUtils/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.3.2")]
[assembly: AssemblyFileVersion("0.0.3.2")]
[assembly: AssemblyVersion("0.0.3.3")]
[assembly: AssemblyFileVersion("0.0.3.3")]
18 changes: 11 additions & 7 deletions VRCMenuUtils/VRCMenuUtilsAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static class VRCMenuUtilsAPI
#endregion
#region VRCMenuUtils Properties
public static bool IsIntialized => _UIInitialized;
public static string Version => "0.3.2";
public static string Version => "0.3.3";
#endregion
#region VRCMenuUtils Delegates
public delegate void ElementChangeDelegate(Transform transform);
Expand Down Expand Up @@ -408,12 +408,16 @@ private static IEnumerator CheckForUpdates()
{
// Show update
MVRCLogger.Log("New update has been found! Version: " + newVersion);
VRCUiPopupManager.ShowStandardPopup(
"VRCMenuUtils Update",
"A new VRCMenuUtils update is now available! Please update as soon as you can.",
"Close", () => { VRCUiPopupManager.HideCurrentPopup(); hasPopup = false; },
"Open", () => System.Diagnostics.Process.Start("https://github.com/AtiLion/VRCMenuUtils/releases")
);
Alert(
"VRCMenuUtils Update",
"A new VRCMenuUtils update is now available! Please update as soon as you can.",
"Close", () => { HideCurrentPopup(); hasPopup = false; },
"Open", () => {
HideCurrentPopup();
hasPopup = false;
System.Diagnostics.Process.Start("https://github.com/AtiLion/VRCMenuUtils/releases");
}
);
while (hasPopup) yield return null;
}
}
Expand Down

0 comments on commit dc1aa08

Please sign in to comment.