-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-git-lfs.ps1
30 lines (25 loc) · 964 Bytes
/
install-git-lfs.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#-----------------------------------------------------------------------------
#
# Copyright (c) 2022, Thierry Lelegard
# BSD-2-Clause license, see LICENSE.txt file
#
# Download and install Git LFS extension (Large File Storage) for Windows.
# See parameters documentation in install-common.ps1.
#
#-----------------------------------------------------------------------------
[CmdletBinding(SupportsShouldProcess=$true)]
param(
[string]$Destination = "",
[switch]$ForceDownload = $false,
[switch]$GitHubActions = $false,
[switch]$NoInstall = $false,
[switch]$NoPause = $false
)
Write-Output "==== Git LFS download and installation procedure"
. "$PSScriptRoot\install-common.ps1"
Install-Standard-Exe `
"https://git-lfs.github.com" `
"*/git-lfs-windows*.exe" `
"https://github.com/git-lfs/git-lfs/releases/download/v3.2.0/git-lfs-windows-v3.2.0.exe" `
@("/verysilent", "/suppressmsgboxes", "/norestart")
Exit-Script