Fixed some app "links", switched back to function

This commit is contained in:
TheFlyingFool 2024-05-13 18:36:46 -05:00
parent 9f9ade13b4
commit b26bd9392b

View File

@ -1,7 +1,7 @@
## NOT TESTED ## ## NOT TESTED ##
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe #Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
#Install WinGet #Install WinGet
## WinGet should be on any windows 11 install by default ## WinGet should be on any windows 11 install by default
@ -87,41 +87,21 @@ do {
@{name = 'Git.Git' }, @{name = 'Git.Git' },
@{name = 'Google.Chrome' }, @{name = 'Google.Chrome' },
@{name = 'TorProject.TorBrowser'}, @{name = 'TorProject.TorBrowser'},
@{name = 'Google.Drive' }, @{name = 'Google.GoogleDrive' },
@{name = 'Hugo.Hugo.Extended' }, @{name = 'Hugo.Hugo.Extended' },
@{name = 'Bitwarden.Bitwarden' }, @{name = 'Bitwarden.Bitwarden' },
@{name = 'Sinew.Enpass'}, # Temp until everything moved to bitwarden @{name = 'Sinew.Enpass'}, # Temp until everything moved to bitwarden
@{name = 'Plex.Plex' }, @{name = 'Plex.Plex' },
@{name = 'Microsoft.MouseWithoutBorders'}, @{name = 'Microsoft.MouseWithoutBorders'},
@{name = 'VivaldiTechnologies.Vivaldi' }, @{name = 'Vivaldi.Vivaldi' },
@{name = 'VideoLAN.VLC' }, @{name = 'VideoLAN.VLC' },
@{name = 'PointPlanck.FileBot' }, @{name = 'PointPlanck.FileBot' },
@{name = 'Oracle.VirtualBox' }, @{name = 'Oracle.VirtualBox' },
@{name = 'NordVPN.NordVPN' }, @{name = 'NordSecurity.NordVPN' },
@{name = 'Facebook.Messenger' }, # @{name = 'Facebook.Messenger' }, # Cant find via winget anymore?
@{name = 'Microsoft.Office' }, @{name = 'Microsoft.Office' },
@{name = 'Malwarebytes.Malwarebytes '} @{name = 'Malwarebytes.Malwarebytes '}
) )
<#
# { Foreach ($app in $apps) {
$listApp = winget list --exact -q $app.name
if (![String]::Join("", $listApp).Contains($app.name)) {
Write-host "Installing:" $app.name
if ($null -ne $app.source) {
winget install --exact $app.name --source $app.source
# winget install --exact --silent $app.name --source $app.source
}
else {
winget install --exact $app.name
# winget install --exact --silent $app.name
}
}
else {
Write-host "Skipping Install of " $app.name
}
}
:Enter a comment or description}
#>
InstallTheApps $Apps InstallTheApps $Apps
} }
"2" { "2" {
@ -132,24 +112,7 @@ do {
@{name = 'GOG.Galaxy '}, @{name = 'GOG.Galaxy '},
@{name = 'Discord.Discord '} @{name = 'Discord.Discord '}
) )
Foreach ($app in $apps) { InstallTheApps $Apps
$listApp = winget list --exact -q $app.name
if (![String]::Join("", $listApp).Contains($app.name)) {
Write-host "Installing:" $app.name
if ($null -ne $app.source) {
winget install --exact $app.name --source $app.source
# winget install --exact --silent $app.name --source $app.source
}
else {
winget install --exact $app.name
# winget install --exact --silent $app.name
}
}
else {
Write-host "Skipping Install of " $app.name
}
}
#InstallTheApps $Apps
} }
"3" { "3" {
$apps = @( ## DESKTOP $apps = @( ## DESKTOP
@ -158,50 +121,16 @@ do {
@{name = 'Asus.ArmouryCrate '}, @{name = 'Asus.ArmouryCrate '},
@{name = 'Nvidia.GeForceExperience '} @{name = 'Nvidia.GeForceExperience '}
) )
Foreach ($app in $apps) { InstallTheApps $Apps
$listApp = winget list --exact -q $app.name
if (![String]::Join("", $listApp).Contains($app.name)) {
Write-host "Installing:" $app.name
if ($null -ne $app.source) {
winget install --exact $app.name --source $app.source
# winget install --exact --silent $app.name --source $app.source
}
else {
winget install --exact $app.name
# winget install --exact --silent $app.name
}
}
else {
Write-host "Skipping Install of " $app.name
}
}
#InstallTheApps $Apps
} }
"4" { $apps = @( ## LAPTOP "4" { $apps = @( ## LAPTOP
@{name = 'Intel.IntelDriverAndSupportAssistant' }, @{name = 'Intel.IntelDriverAndSupportAssistant' },
@{name = '9WZDNCRFJ4MV'; source = 'msstore' }, # Lenovo Vantage from MS Store @{name = '9WZDNCRFJ4MV'; source = 'msstore' }, # Lenovo Vantage from MS Store
@{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet! @{name = 'j5create.Driver-JUA365' } ## Not sure if this is correct yet!
) )
Foreach ($app in $apps) { InstallTheApps $Apps
$listApp = winget list --exact -q $app.name
if (![String]::Join("", $listApp).Contains($app.name)) {
Write-host "Installing:" $app.name
if ($null -ne $app.source) {
winget install --exact $app.name --source $app.source
# winget install --exact --silent $app.name --source $app.source
}
else {
winget install --exact $app.name
# winget install --exact --silent $app.name
}
}
else {
Write-host "Skipping Install of " $app.name
} }
#InstallTheApps $Apps
}
}
'5' { '5' {
## REMOVE CRAP ## REMOVE CRAP