File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33### Bug Fixes
44
55- ** scoop-search:** Catch error of parsing invalid manifest ([ #5930 ] ( https://github.com/ScoopInstaller/Scoop/issues/5930 ) )
6+ - ** autoupdate:** Copy ` PSCustomObject ` -type properties within ` autoupdate ` to prevent reference changes ([ #5934 ] ( https://github.com/ScoopInstaller/Scoop/issues/5934 ) )
67
78## [ v0.4.1] ( https://github.com/ScoopInstaller/Scoop/compare/v0.4.0...v0.4.1 ) - 2024-04-25
89
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ function Update-ManifestProperty {
365365 }
366366 } elseif ($Manifest .$currentProperty -and $Manifest.autoupdate .$currentProperty ) {
367367 # Update other property (global)
368- $autoupdateProperty = $Manifest.autoupdate .$currentProperty
368+ $autoupdateProperty = $Manifest.autoupdate .$currentProperty.PSObject.Copy ()
369369 $newValue = substitute $autoupdateProperty $Substitutions
370370 if (($autoupdateProperty.GetType ().Name -eq ' Object[]' ) -and ($autoupdateProperty.Length -eq 1 )) {
371371 # Make sure it's an array
You can’t perform that action at this time.
0 commit comments