Allow creating aliae
config for other users
This commit is contained in:
parent
5eae9dffdc
commit
5965918bf6
1 changed files with 5 additions and 1 deletions
|
@ -47,5 +47,9 @@ Start-SoftwareInstaller @PSBoundParameters `
|
||||||
) -join [System.Environment]::NewLine)
|
) -join [System.Environment]::NewLine)
|
||||||
} `
|
} `
|
||||||
-UserConfigurator {
|
-UserConfigurator {
|
||||||
Copy-Item -Force "$PSScriptRoot/aliae.yml" ~/.aliae.yaml;
|
param(
|
||||||
|
[hashtable] $Arguments
|
||||||
|
)
|
||||||
|
|
||||||
|
sudo -u $Arguments.Name pwsh -c Copy-Item -Force "$PSScriptRoot/aliae.yml" "~/.aliae.yaml";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue