-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-gimp.ps1
36 lines (30 loc) · 1.17 KB
/
install-gimp.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
31
32
33
34
35
36
#-----------------------------------------------------------------------------
#
# Copyright (c) 2022, Thierry Lelegard
# BSD-2-Clause license, see LICENSE.txt file
#
# Download and install GIMP 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 "==== GIMP download and installation procedure"
. "$PSScriptRoot\install-common.ps1"
Install-Standard-Exe `
"https://www.gimp.org/downloads/" `
"*/gimp-*-setup*.exe" `
"https://download.gimp.org/mirror/pub/gimp/v2.10/windows/gimp-2.10.32-setup-1.exe" `
@("/verysilent", "/suppressmsgboxes", "/norestart", "/allusers")
Install-Standard-Exe `
"https://www.gimp.org/downloads/" `
"*/gimp-help-*-en-setup*.exe" `
"https://download.gimp.org/mirror/pub/gimp/help/windows/2.10/gimp-help-2.10.0-en-setup.exe" `
@("/verysilent", "/suppressmsgboxes", "/norestart", "/allusers")
Exit-Script