mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move 7z around more logically.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user