diff --git a/Code/Config.ps1 b/Code/Config.ps1 index 26804d1c..6cff65aa 100644 --- a/Code/Config.ps1 +++ b/Code/Config.ps1 @@ -46,7 +46,7 @@ class Config : BaseConfig { static [int] $Processors = 0 static [int] $Cores = 0 static [int] $Threads = 0 - static [string] $Version = "v0.51" + static [string] $Version = "v0.52" static [string] $BinLocation = "Bin" static [eMinerType[]] $ActiveTypes static [string[]] $CPUFeatures diff --git a/run.bat b/run.bat index 6e94b3a7..cf00f588 100644 --- a/run.bat +++ b/run.bat @@ -1,4 +1,7 @@ @echo off +if not exist "bin" ( + powershell -version 5.0 -executionpolicy bypass -noprofile -command "Get-ChildItem -File *.ps1 -Recurse | Unblock-File" +) :start powershell -version 5.0 -executionpolicy bypass -noprofile -command "&.\MindMiner.ps1" if exist "bin\mm.new" (