Resolve XTchain directory based on script path
All checks were successful
All checks were successful
This commit is contained in:
committed by
CodingWorkshop Signing Team
parent
297937aeb3
commit
3fff3b487b
@@ -5,7 +5,7 @@
|
||||
# DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
|
||||
|
||||
# Get the absolute path to the XTchain
|
||||
$XTCDIR = (Get-Item -Path ".\").FullName
|
||||
$XTCDIR = Split-Path -Parent $MyInvocation.MyCommand.Definition
|
||||
|
||||
# Read the XTchain version
|
||||
$env:XTCVER = Get-Content "${XTCDIR}\Version"
|
||||
|
Reference in New Issue
Block a user