Move 7z around more logically.

This commit is contained in:
Matt Nadareski
2016-04-12 16:20:38 -07:00
parent 802ac68f02
commit 3e7c53840e
11 changed files with 22 additions and 247 deletions

View File

@@ -6,11 +6,27 @@ namespace SabreTools.Helper
{
public class Build
{
/// <summary>
/// The current toolset version to be used by all child applications
/// </summary>
public static string Version
{
get { return "0.6.0.0"; }
}
/// <summary>
/// The path to the root of the 7z binaries and DLLs
/// </summary>
public static string SevenZipPath
{
get
{
bool isMono = (Type.GetType("Mono.Runtime") != null);
char delim = (Environment.CurrentDirectory.Contains("\\") ? '\\' : '/');
return Environment.CurrentDirectory + delim + (!isMono && Environment.Is64BitOperatingSystem ? "x64" : "x86") + delim;
}
}
/// <summary>
/// Show the help dialog for a given class
/// </summary>