Configure NVS after installation
This commit is contained in:
parent
8911b7460b
commit
8db8dc7a23
1 changed files with 6 additions and 0 deletions
|
@ -7,9 +7,14 @@ param(
|
|||
)
|
||||
|
||||
. "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
|
||||
. "$PSScriptRoot/../../../Common/Types/InstallerAction.ps1";
|
||||
|
||||
Start-SoftwareInstaller @PSBoundParameters `
|
||||
-Installer {
|
||||
param(
|
||||
[scriptblock] $Installer
|
||||
)
|
||||
|
||||
$env:NVS_HOME = "$env:ProgramData\nvs";
|
||||
git clone "https://github.com/jasongin/nvs.git" $env:NVS_HOME;
|
||||
& "$env:NVS_HOME\nvs.cmd" install;
|
||||
|
@ -26,6 +31,7 @@ Start-SoftwareInstaller @PSBoundParameters `
|
|||
|
||||
Set-Acl $env:NVS_HOME $acl;
|
||||
refreshenv;
|
||||
& $Installer -Action ([InstallerAction]::Configure);
|
||||
} `
|
||||
-Configurator {
|
||||
nvs add latest;
|
||||
|
|
Loading…
Reference in a new issue