mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-05-30 15:08:49 +02:00
Updated install-syncthing.ps1
This commit is contained in:
parent
0cbe8e69c4
commit
d8ebaae190
@ -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])"
|
||||
|
Loading…
x
Reference in New Issue
Block a user