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
This commit is contained in:
18
EthanBrown.ConEmuConfig/tools/chocolateyInstall.ps1
Normal file
18
EthanBrown.ConEmuConfig/tools/chocolateyInstall.ps1
Normal file
@@ -0,0 +1,18 @@
|
||||
$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
|
||||
}
|
Reference in New Issue
Block a user