Move PinnedItem script to proper location

This commit is contained in:
Manuel Thalmann 2024-08-08 14:04:51 +02:00
parent 666996faf3
commit 5e0de1abd2
2 changed files with 4 additions and 4 deletions

View file

@ -89,7 +89,7 @@ $null = New-Module {
Invoke-Hook "Install-PSModules" -Fallback { Invoke-Hook "Install-PSModules" -Fallback {
Install-Module -AcceptLicense -Force PSWindowsUpdate; Install-Module -AcceptLicense -Force PSWindowsUpdate;
Install-Module -AcceptLicense -Force PSScriptAnalyzer; Install-Module -AcceptLicense -Force PSScriptAnalyzer;
. "$PSScriptRoot/../../Common/Software/PinnedItem/Manage.ps1"; . "$PSScriptRoot/../Software/PinnedItem/Manage.ps1";
}; };
if (-not (Test-PSPackage Selenium.WebDriver)) { if (-not (Test-PSPackage Selenium.WebDriver)) {

View file

@ -3,8 +3,8 @@ param (
[hashtable] $Arguments [hashtable] $Arguments
) )
. "$PSScriptRoot/../PowerShell/Module.ps1"; . "$PSScriptRoot/../../../Common/Scripts/Software.ps1";
. "$PSScriptRoot/../../Scripts/Software.ps1"; . "$PSScriptRoot/../../../Common/Software/PowerShell/Module.ps1";
$parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly; $parameters = Get-ModuleInstallerComponents "PinnedItem" -NativeOnly;
@ -27,5 +27,5 @@ Start-SoftwareInstaller @parameters -Installer {
choco install --source windowsFeatures -y $feature; choco install --source windowsFeatures -y $feature;
} }
& $Arguments.Installer; & $Arguments.Installer @PSBoundParameters;
} }