mirror of
https://github.com/ntdevlabs/tiny11builder.git
synced 2025-12-18 09:24:12 +00:00
FEATURE: Added Microsoft Edge in remove apps
This commit is contained in:
parent
00e7d8a151
commit
1e55842c94
1 changed files with 2 additions and 3 deletions
|
|
@ -176,7 +176,6 @@ if ($languageLine) {
|
|||
|
||||
$imageInfo = & 'dism' '/English' '/Get-WimInfo' "/wimFile:$($ScratchDisk)\tiny11\sources\install.wim" "/index:$index"
|
||||
$lines = $imageInfo -split '\r?\n'
|
||||
|
||||
foreach ($line in $lines) {
|
||||
if ($line -like '*Architecture : *') {
|
||||
$architecture = $line -replace 'Architecture : ',''
|
||||
|
|
@ -254,8 +253,8 @@ $packagePrefixes = 'AppUp.IntelManagementandSecurityStatus',
|
|||
'MSTeams',
|
||||
'MicrosoftTeams',
|
||||
'Microsoft.WindowsTerminal',
|
||||
'Microsoft.549981C3F5F10'
|
||||
|
||||
'Microsoft.549981C3F5F10',
|
||||
'Microsoft.MicrosoftEdge.Stable_8wekyb3d8bbwe!App'
|
||||
$packagesToRemove = $packages | Where-Object {
|
||||
$packageName = $_
|
||||
$packagePrefixes -contains ($packagePrefixes | Where-Object { $packageName -like "*$_*" })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue