Apps/Get-FujifilmPixelShiftCombiner.ps1

1
2
3
4
5
6
7
8
9
10
11
12
try {

    $Version = Get-Version -Uri 'https://fujifilm-x.com/global/support/download/software/pixel-shift-combiner/' -Pattern 'Windows Version: (?:Ver\.)?((?:\d+\.)+\d+)'

    $URL = Get-Link -Uri 'https://fujifilm-x.com/global/support/download/software/pixel-shift-combiner/' -MatchProperty href -Pattern '\.exe$'

    New-NevergreenApp -Name 'Fujifilm Pixel Shift Combiner' -Version $Version -Uri $URL -Architecture 'x64' -Type 'Exe'

}
catch {
    Write-Error "$($MyInvocation.MyCommand): $($_.Exception.Message)"
}