mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-01 03:36:28 +02:00
Update install-basic-apps.ps1
This commit is contained in:
parent
3d786d433d
commit
fac504c9f3
@ -1,35 +1,35 @@
|
|||||||
APPLICATION, CATEGORY, APPID
|
APPLICATION, CATEGORY, APPID
|
||||||
"7-Zip", "file utility", "XPDNKVCX4QD2DC"
|
"7-Zip", "file utility", "XPDNKVCX4QD2DC"
|
||||||
"Aquile Reader", "ebook reader", "9P08T4JLTQNK"
|
"Aquile Reader", "ebook reader", "9P08T4JLTQNK"
|
||||||
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM"
|
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM"
|
||||||
"Dopamine", "audio player", "Digimezzo.Dopamine.2"
|
"Dopamine", "audio player", "Digimezzo.Dopamine.2"
|
||||||
"Dropbox", "file sync", "Dropbox.Dropbox"
|
"Dropbox", "file sync", "Dropbox.Dropbox"
|
||||||
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions"
|
"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"
|
"Google Chrome", "desktop browser", "Google.Chrome"
|
||||||
"Greenshot", "screenshot utility", "Greenshot.Greenshot"
|
"Greenshot", "screenshot utility", "Greenshot.Greenshot"
|
||||||
"grepWin", "search tool", "StefansTools.grepWin"
|
"grepWin", "search tool", "StefansTools.grepWin"
|
||||||
"inSSIDer", "Wifi tool", "MetaGeek.inSSIDer"
|
"inSSIDer", "Wifi tool", "MetaGeek.inSSIDer"
|
||||||
"IrfanView", "image viewer", "9PJZ3BTL5PV6"
|
"IrfanView", "image viewer", "9PJZ3BTL5PV6"
|
||||||
"KeePassXC", "password manager", "XP8K2L36VP0QMB"
|
"KeePassXC", "password manager", "XP8K2L36VP0QMB"
|
||||||
"Kodi", "media center", "9NBLGGH4T892"
|
"Kodi", "media center", "9NBLGGH4T892"
|
||||||
"LibreOffice", "office suite", "TheDocumentFoundation.LibreOffice"
|
"LibreOffice", "office suite", "TheDocumentFoundation.LibreOffice"
|
||||||
"Microsoft Teams", "messenger", "XP8BT8DW290MPQ"
|
"Microsoft Teams", "messenger", "XP8BT8DW290MPQ"
|
||||||
"Mozilla Firefox", "desktop browser", "9NZVDKPMR9RD"
|
"Mozilla Firefox", "desktop browser", "9NZVDKPMR9RD"
|
||||||
"Mozilla Thunderbird", "email client", "Mozilla.Thunderbird"
|
"Mozilla Thunderbird", "email client", "Mozilla.Thunderbird"
|
||||||
"Mp3tag", "MP3 tag editor", "9NN77TCQ1NC8"
|
"Mp3tag", "MP3 tag editor", "9NN77TCQ1NC8"
|
||||||
"Netflix", "video player", "9WZDNCRFJ3TJ"
|
"Netflix", "video player", "9WZDNCRFJ3TJ"
|
||||||
"Notepad++", "text editor", "Notepad++.Notepad++"
|
"Notepad++", "text editor", "Notepad++.Notepad++"
|
||||||
"OBS Studio", "video recorder", "XPFFH613W8V6LV"
|
"OBS Studio", "video recorder", "XPFFH613W8V6LV"
|
||||||
"One Calendar", "desktop calendar", "9WZDNCRDR0SF"
|
"One Calendar", "desktop calendar", "9WZDNCRDR0SF"
|
||||||
"Pandoc", "file converter", "JohnMacFarlane.Pandoc"
|
"Pandoc", "file converter", "JohnMacFarlane.Pandoc"
|
||||||
"Rufus", "ISO image writer", "9PC3H3V7Q9CH"
|
"Rufus", "ISO image writer", "9PC3H3V7Q9CH"
|
||||||
"Signal", "messenger", "OpenWhisperSystems.Signal"
|
"Signal", "messenger", "OpenWhisperSystems.Signal"
|
||||||
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools"
|
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools"
|
||||||
"Spotify", "audio player", "9NCBCSZSJRSB"
|
"Spotify", "audio player", "9NCBCSZSJRSB"
|
||||||
"Typora", "Markdown editor", "Typora.Typora"
|
"Typora", "Markdown editor", "Typora.Typora"
|
||||||
"Visual Studio Code", "code editor", "XP9KHM4BK9FZ7Q"
|
"Visual Studio Code", "code editor", "XP9KHM4BK9FZ7Q"
|
||||||
"VLC", "video player", "XPDM1ZW6815MQM"
|
"VLC", "video player", "XPDM1ZW6815MQM"
|
||||||
"Windows Terminal", "console terminal", "9N0DX20HK701"
|
"Windows Terminal", "console terminal", "9N0DX20HK701"
|
||||||
"WhatsApp", "messenger", "9NKSQGP7F2NH"
|
"WhatsApp", "messenger", "9NKSQGP7F2NH"
|
||||||
"Zoom", "video conferencing", "Zoom.Zoom"
|
"Zoom", "video conference software", "Zoom.Zoom"
|
||||||
|
|
@ -15,19 +15,18 @@
|
|||||||
try {
|
try {
|
||||||
$StopWatch = [system.diagnostics.stopwatch]::startNew()
|
$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"
|
$Table = Import-CSV "$PSScriptRoot/../Data/basic-apps.csv"
|
||||||
$NumEntries = $Table.count
|
$NumEntries = $Table.count
|
||||||
"$NumEntries apps"
|
"$NumEntries apps"
|
||||||
"⏳ (2/34) About to install or upgrade:"
|
Write-Host "⏳ (2/36) About to install/upgrade these apps: " -noNewline
|
||||||
""
|
|
||||||
foreach($Row in $Table) {
|
foreach($Row in $Table) {
|
||||||
[string]$AppName = $Row.APPLICATION
|
[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
|
Start-Sleep -seconds 15
|
||||||
|
|
||||||
[int]$Step = 3
|
[int]$Step = 3
|
||||||
@ -44,7 +43,7 @@ try {
|
|||||||
}
|
}
|
||||||
[int]$Installed = ($NumEntries - $Failed)
|
[int]$Installed = ($NumEntries - $Failed)
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
[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
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user