File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,11 @@ process {
162
162
$PkgsDir = " $env: SystemDrive \choco-setup\packages"
163
163
$Ccr = " 'https://community.chocolatey.org/api/v2/'"
164
164
165
- # Download Chocolatey community related items, no internalization necessary
166
- @ (' chocolatey' , ' chocolateygui' ) |
167
- Foreach-Object {
168
- choco download $_ -- no- progress -- force -- source $Ccr -- output- directory $PkgsDir
169
- }
165
+ # Download Chocolatey package from Ccr, no internalization necessary
166
+ choco download ' chocolatey' -- no- progress -- force -- source $Ccr -- output- directory $PkgsDir
170
167
171
- # Internalize dotnet4.5.2 for ChocolateyGUI (just in case endpoints need it)
172
- choco download dotnet4. 5.2 -- no- progress -- force -- internalize -- internalize- all- urls -- append- use-original - location -- source $Ccr -- output- directory $PkgsDir
168
+ # Internalize chocolateygui & all its dependencies
169
+ choco download chocolateygui -- no- progress -- force -- internalize -- internalize- all- urls -- append- use-original - location -- source $Ccr -- output- directory $PkgsDir
173
170
174
171
# Download Licensed Packages
175
172
# # DO NOT RUN WITH `--internalize` and `--internalize-all-urls` - see https://github.com/chocolatey/chocolatey-licensed-issues/issues/155
You can’t perform that action at this time.
0 commit comments