This commit is contained in:
2026-08-28 15:56:12 +01:00
commit 4d5f73e29c
7349 changed files with 664196 additions and 0 deletions
@@ -0,0 +1,25 @@
using System;
using System.IO;
using Codice.Utils;
namespace Unity.PlasticSCM.Editor.Views.Welcome
{
static class GetInstallerTmpFileName
{
internal static string ForPlatform()
{
string fileName = Guid.NewGuid().ToString();
if (PlatformIdentifier.IsWindows())
fileName += ".exe";
if (PlatformIdentifier.IsMac())
fileName += ".pkg.zip";
return Path.Combine(
Path.GetTempPath(),
fileName);
}
}
}