9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
24 lines
643 B
C#
24 lines
643 B
C#
using System.Diagnostics;
|
|
|
|
using Codice.Utils;
|
|
|
|
namespace Unity.PlasticSCM.Editor.Tool
|
|
{
|
|
internal static class LaunchInstaller
|
|
{
|
|
internal static Process ForPlatform(string installerPath)
|
|
{
|
|
if (PlatformIdentifier.IsMac())
|
|
{
|
|
return Process.Start(
|
|
ToolConstants.Installer.INSTALLER_MACOS_OPEN,
|
|
string.Format(ToolConstants.Installer.INSTALLER_MACOS_OPEN_ARGS, installerPath));
|
|
}
|
|
|
|
return Process.Start(
|
|
installerPath,
|
|
ToolConstants.Installer.INSTALLER_WINDOWS_ARGS);
|
|
}
|
|
}
|
|
}
|