Resolve XTchain directory based on script path
All checks were successful
Builds / XTchain (full, linux) (push) Successful in 2h17m22s
Builds / XTchain (full, windows) (push) Successful in 2h18m41s
Builds / XTchain (minimal, linux) (push) Successful in 1m46s
Builds / XTchain (minimal, windows) (push) Successful in 1m36s

This commit is contained in:
2025-09-28 22:57:35 +02:00
committed by CodingWorkshop Signing Team
parent 297937aeb3
commit 3fff3b487b

View File

@@ -5,7 +5,7 @@
# DEVELOPERS: Aiken Harris <harraiken91@gmail.com> # DEVELOPERS: Aiken Harris <harraiken91@gmail.com>
# Get the absolute path to the XTchain # Get the absolute path to the XTchain
$XTCDIR = (Get-Item -Path ".\").FullName $XTCDIR = Split-Path -Parent $MyInvocation.MyCommand.Definition
# Read the XTchain version # Read the XTchain version
$env:XTCVER = Get-Content "${XTCDIR}\Version" $env:XTCVER = Get-Content "${XTCDIR}\Version"