Skip to content

Commit

Permalink
unblock downloaded files once on first run
Browse files Browse the repository at this point in the history
  • Loading branch information
Quake4 committed Jan 30, 2018
1 parent 2125335 commit c088456
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Config.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions run.bat
Original file line number Diff line number Diff line change
@@ -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" (
Expand Down

0 comments on commit c088456

Please sign in to comment.