mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-23 05:01:37 +01:00
Add One Calendar app
This commit is contained in:
parent
834cad35cb
commit
94025de1f9
@ -11,6 +11,7 @@ AppName,Category,AppID
|
|||||||
"Mozilla Firefox", "desktop browser", 9NZVDKPMR9RD
|
"Mozilla Firefox", "desktop browser", 9NZVDKPMR9RD
|
||||||
"Mozilla Thunderbird", "email client", Mozilla.Thunderbird
|
"Mozilla Thunderbird", "email client", Mozilla.Thunderbird
|
||||||
"Notepad++", "text editor", Notepad++.Notepad++
|
"Notepad++", "text editor", Notepad++.Notepad++
|
||||||
|
"One Calendar", "desktop calendar", 9WZDNCRDR0SF
|
||||||
"Signal", "messenger", OpenWhisperSystems.Signal
|
"Signal", "messenger", OpenWhisperSystems.Signal
|
||||||
"VLC", "media player", XPDM1ZW6815MQM
|
"VLC", "media player", XPDM1ZW6815MQM
|
||||||
"Windows Terminal", "terminal application", 9N0DX20HK701
|
"Windows Terminal", "terminal application", 9N0DX20HK701
|
||||||
|
|
@ -3,6 +3,7 @@
|
|||||||
Installs basic apps
|
Installs basic apps
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script installs basic Windows apps (browser, e-mail client, etc).
|
This PowerShell script installs basic Windows apps (browser, e-mail client, etc).
|
||||||
|
Apps from the Microsoft Store are preferred for automatic updates.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./install-basic-apps
|
PS> ./install-basic-apps
|
||||||
.LINK
|
.LINK
|
||||||
@ -27,7 +28,7 @@ try {
|
|||||||
|
|
||||||
"⏳ Step $Step/$($NumEntries + 1) - Installing $AppName ($Category)..."
|
"⏳ Step $Step/$($NumEntries + 1) - Installing $AppName ($Category)..."
|
||||||
& winget install --id $AppID --accept-package-agreements --accept-source-agreements
|
& winget install --id $AppID --accept-package-agreements --accept-source-agreements
|
||||||
if ($lastExitCode -ne "0") { throw "'winget install' failed" }
|
if ($lastExitCode -ne "0") { throw "'winget install' for $AppName failed" }
|
||||||
$Step++
|
$Step++
|
||||||
}
|
}
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||||
|
Loading…
Reference in New Issue
Block a user