mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Mono may not like x64
This commit is contained in:
@@ -133,7 +133,7 @@ namespace SabreTools
|
|||||||
|
|
||||||
// Set 7za required variables
|
// Set 7za required variables
|
||||||
_isMono = (Type.GetType("Mono.Runtime") != null);
|
_isMono = (Type.GetType("Mono.Runtime") != null);
|
||||||
_7zPath = Environment.CurrentDirectory + _delim + "7z" + (Environment.Is64BitOperatingSystem ? _delim + "x64" : "") + _delim;
|
_7zPath = Environment.CurrentDirectory + _delim + "7z" + (Environment.Is64BitOperatingSystem && !_isMono ? _delim + "x64" : "") + _delim;
|
||||||
_psi = new ProcessStartInfo
|
_psi = new ProcessStartInfo
|
||||||
{
|
{
|
||||||
Arguments = "",
|
Arguments = "",
|
||||||
|
|||||||
Reference in New Issue
Block a user