Files
ChocolateyPackages/EthanBrown.ConEmuConfig/tools/chocolateyInstall.ps1
Iristyle 6ba4499132 feat: ConEmuConfiguration 0.0.1
- 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
2013-06-03 00:43:27 -04:00

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
}