Allow creating aliae
config for other users
This commit is contained in:
parent
5eae9dffdc
commit
5965918bf6
|
@ -47,5 +47,9 @@ Start-SoftwareInstaller @PSBoundParameters `
|
|||
) -join [System.Environment]::NewLine)
|
||||
} `
|
||||
-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