Skip to content

Commit

Permalink
Updated to 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
igor84 committed Aug 3, 2022
1 parent cd463c8 commit 8b0cc74
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/NuGet/Editor/NugetPreferences.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static class NugetPreferences
/// <summary>
/// The current version of NuGet for Unity.
/// </summary>
public const string NuGetForUnityVersion = "3.0.6";
public const string NuGetForUnityVersion = "3.0.7";

/// <summary>
/// The current position of the scroll bar in the GUI.
Expand Down
13 changes: 13 additions & 0 deletions Assets/NuGet/Editor/NugetWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,19 @@ protected static void DisplayVersion()
{
Application.OpenURL(url);
}

/// <summary>
/// Displays the version number of NuGetForUnity.
/// </summary>
[MenuItem("NuGet/Clear Nuspec cache", false, 20)]
protected static void ClearNuspecCache()
{
var files = Directory.GetFiles("Library/", "*.nupkg");
foreach (var file in files)
{
File.Delete(file);
}
}

/// <summary>
/// Checks/launches the Releases page to update NuGetForUnity with a new version.
Expand Down
Binary file modified Packager/NuGetForUnity.unitypackage
Binary file not shown.

0 comments on commit 8b0cc74

Please sign in to comment.