Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DexterDreeeam committed Mar 2, 2023
1 parent bcc10f3 commit 4d437b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion agent/one-line-installer-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Function Get-File ($Url, $Path, $ExtractCurrent=$false)
{
if ($ExtractCurrent)
{
Expand-Archive $Path -DestinationPath (Get-Item $Path).Directory.parent
$PathExtract = $Path.Substring(0, $Path.LastIndexOf('\') + 1)
Expand-Archive $Path -DestinationPath $PathExtract
}
else
{
Expand Down Expand Up @@ -199,6 +200,11 @@ if (Test-Path -Path $RootPath)
}
[void](New-Item -Path $RootPath -ItemType Directory)

# =======================================
# Copy Configuration File
# =======================================
Copy-Item "$CurrentPath\application.yml" -Destination "$RootPath\application.yml"

# =======================================
# Download HydraLab
# =======================================
Expand Down

0 comments on commit 4d437b9

Please sign in to comment.