From 3fff3b487b5bc346625d2e91bff74dc7b9c113fd Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Sun, 28 Sep 2025 22:57:35 +0200 Subject: [PATCH] Resolve XTchain directory based on script path --- scripts/xtchain.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/xtchain.ps1 b/scripts/xtchain.ps1 index 25c2c8d..35bdb98 100644 --- a/scripts/xtchain.ps1 +++ b/scripts/xtchain.ps1 @@ -5,7 +5,7 @@ # DEVELOPERS: Aiken Harris # 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"