Update install-basic-apps.ps1

This commit is contained in:
Markus Fleschutz 2023-06-16 15:47:02 +02:00
parent 3d786d433d
commit fac504c9f3
2 changed files with 40 additions and 41 deletions

View File

@ -5,7 +5,7 @@ APPLICATION, CATEGORY, APPID
"Dopamine", "audio player", "Digimezzo.Dopamine.2"
"Dropbox", "file sync", "Dropbox.Dropbox"
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions"
"Git for Windows", "source code management","Git.Git"
"Git for Windows", "source code management", "Git.Git"
"Google Chrome", "desktop browser", "Google.Chrome"
"Greenshot", "screenshot utility", "Greenshot.Greenshot"
"grepWin", "search tool", "StefansTools.grepWin"
@ -32,4 +32,4 @@ APPLICATION, CATEGORY, APPID
"VLC", "video player", "XPDM1ZW6815MQM"
"Windows Terminal", "console terminal", "9N0DX20HK701"
"WhatsApp", "messenger", "9NKSQGP7F2NH"
"Zoom", "video conferencing", "Zoom.Zoom"
"Zoom", "video conference software", "Zoom.Zoom"

1 APPLICATION CATEGORY APPID
5 Dopamine audio player Digimezzo.Dopamine.2
6 Dropbox file sync Dropbox.Dropbox
7 Git Extensions Git client GitExtensionsTeam.GitExtensions
8 Git for Windows source code management Git.Git
9 Google Chrome desktop browser Google.Chrome
10 Greenshot screenshot utility Greenshot.Greenshot
11 grepWin search tool StefansTools.grepWin
32 VLC video player XPDM1ZW6815MQM
33 Windows Terminal console terminal 9N0DX20HK701
34 WhatsApp messenger 9NKSQGP7F2NH
35 Zoom video conferencing video conference software Zoom.Zoom

View File

@ -15,19 +15,18 @@
try {
$StopWatch = [system.diagnostics.stopwatch]::startNew()
Write-Host "⏳ (1/34) Loading Data/basic-apps.csv... " -noNewline
Write-Host "⏳ (1/36) Loading Data/basic-apps.csv... " -noNewline
$Table = Import-CSV "$PSScriptRoot/../Data/basic-apps.csv"
$NumEntries = $Table.count
"$NumEntries apps"
"⏳ (2/34) About to install or upgrade:"
""
Write-Host "⏳ (2/36) About to install/upgrade these apps: " -noNewline
foreach($Row in $Table) {
[string]$AppName = $Row.APPLICATION
Write-Host " · $AppName" -NoNewline
Write-Host "$AppName · " -noNewline
}
""
""
"Press <Control> <C> to abort, otherwise the installation will start in 15 seconds..."
"Installation will start in 15 seconds... (otherwise press <Control> <C> to abort)"
Start-Sleep -seconds 15
[int]$Step = 3
@ -44,7 +43,7 @@ try {
}
[int]$Installed = ($NumEntries - $Failed)
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
"✔️ installed $Installed of $NumEntries applications in $Elapsed sec"
"✔️ installed $Installed of $NumEntries basic apps in $Elapsed sec (use list-updates.ps1 later on to list available updates)"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"