From da054f5b499ba5334bc9cfd9a2cc35bc72bb2136 Mon Sep 17 00:00:00 2001 From: Christopher Parton-Fenton Date: Mon, 2 Jan 2023 13:42:09 +0000 Subject: [PATCH] Updated the PowerShell script to automatically populate the environment variable required for setup --- version_data.ps1 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/version_data.ps1 b/version_data.ps1 index cd1fec4..f745a97 100644 --- a/version_data.ps1 +++ b/version_data.ps1 @@ -21,4 +21,7 @@ $v_string += '}' # Kill any new-lines that made it through $v_out = $v_string.replace("`n","").replace("`r","") -$v_out| Out-File -Encoding ascii -FilePath version.txt \ No newline at end of file +$v_out| Out-File -Encoding ascii -FilePath version.txt + +# Set the METAWARDSDATA environment variable, just in the user environment for now +[Environment]::SetEnvironmentVariable('METAWARDSDATA', $PSScriptRoot, 'User') \ No newline at end of file