Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 2f6b28b

Browse files
committed
Place the tools in a known location independent of project
1 parent 9de6b3d commit 2f6b28b

File tree

1 file changed

+2
-1
lines changed
  • src/UnityExtension/Assets/Editor/GitHub.Unity/Misc

1 file changed

+2
-1
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/Misc/Utility.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ public static Texture2D GetTextureFromColor(Color color)
5252

5353
public static NPath GetTool(string tool)
5454
{
55-
var outfile = Application.temporaryCachePath.ToNPath().Combine(tool);
55+
var outfile = EntryPoint.Environment.UserCachePath.Combine("tools", tool);
56+
outfile.EnsureParentDirectoryExists();
5657

5758
if (tool == "octorun.exe")
5859
{

0 commit comments

Comments
 (0)