Updated install-syncthing.ps1

This commit is contained in:
Markus Fleschutz 2025-05-17 14:19:04 +02:00
parent 0cbe8e69c4
commit d8ebaae190

View File

@ -2,9 +2,12 @@
.SYNOPSIS
Installs Syncthing
.DESCRIPTION
This PowerShell scripts installs Syncthing on your computer.
This PowerShell script installs Syncthing on your computer.
Syncthing is a continuous file synchronization program. See https://syncthing.net for details.
.EXAMPLE
PS> ./install-syncthing.ps1
Installing Syncthing...
...
.LINK
Author: Markus Fleschutz | License: CC0
.NOTES
@ -21,7 +24,9 @@ try {
& winget install --id Syncthing.Syncthing
}
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
"✅ Syncthing installed successfully in $($elapsed)s. Visit 127.0.0.1:8384 for setup and see the ~/Sync folder"
"✅ Syncthing installed successfully in $($elapsed)s."
" Adming GUI at: http://127.0.0.1:8384 (use <Ctrl> <click>)"
" Your sync folder is at: ~/Sync/"
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"