- check nuspec for all the features present - only using the .reg during install, but backup copy of .xml also kept around in case this turns into a portable config as well
19 lines
382 B
PowerShell
19 lines
382 B
PowerShell
$package = 'EthanBrown.ConEmuConfig'
|
|
|
|
try {
|
|
|
|
function Get-CurrentDirectory
|
|
{
|
|
$thisName = $MyInvocation.MyCommand.Name
|
|
[IO.Path]::GetDirectoryName((Get-Content function:$thisName).File)
|
|
}
|
|
|
|
Push-Location (Get-CurrentDirectory)
|
|
reg import .\ConEmu.reg
|
|
|
|
Write-ChocolateySuccess $package
|
|
} catch {
|
|
Write-ChocolateyFailure $package $($_.Exception.Message)
|
|
throw
|
|
}
|