From 8651397c633806b564221aa47398aebd9a1b3b6b Mon Sep 17 00:00:00 2001 From: Jared Haight <1220886+jaredhaight@users.noreply.github.com> Date: Sat, 31 Mar 2018 13:19:24 -0700 Subject: [PATCH] starting to work on returing to DL_DIR on exit --- build.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.ps1 b/build.ps1 index 922343b..ec8db21 100644 --- a/build.ps1 +++ b/build.ps1 @@ -54,6 +54,14 @@ Param( $DL_DIR = Split-Path -Parent -Path $MyInvocation.MyCommand.Definition $LAB_HOSTS = ('logger', 'dc', 'wef', 'win10') +# Register-EngineEvent PowerShell.Exiting -SupportEvent -Action { +# Set-Location $DL_DIR +# } + +# Register-ObjectEvent -InputObject ([System.Console]) -EventName CancelKeyPress -Action { +# Set-Location $DL_DIR +# } + function install_checker { param( [string]$Name