Skip to content

Commit

Permalink
Merge pull request #187234 from yunhao-jiang/pixel-shift-combiner
Browse files Browse the repository at this point in the history
pixel-shift-combiner 1.5.0,1050,sgwn5e23 (new cask)
  • Loading branch information
khipp authored Oct 3, 2024
2 parents 1b18126 + 3b39eb7 commit 0d4617d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/autobump.txt
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ pieces
pieces-os
pile
pitch
pixel-shift-combiner
plasticscm-cloud-edition
playdate-simulator
plex
Expand Down
29 changes: 29 additions & 0 deletions Casks/p/pixel-shift-combiner.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cask "pixel-shift-combiner" do
version "1.5.0,1050,sgwn5e23"
sha256 "4e734f66062e19c7272abd06e6d21b5bdc222090631e2691ce8b847975e5fce1"

url "https://dl.fujifilm-x.com/support/software/pixel-shift-combiner-mac#{version.csv.second}-#{version.csv.third}/FUJIFILM_PixelShiftCombiner#{version.csv.second}.dmg"
name "Fujifilm Pixel Shift Combiner"
desc "Tool to tether and combine photos for Fujifilm cameras with IBIS function"
homepage "https://fujifilm-x.com/en-us/support/download/software/pixel-shift-combiner/"

livecheck do
url :homepage
regex(%r{Mac\sVersion:\s(\d+(?:\.\d+)+).*href=.*?pixel-shift-combiner-mac(\d+)[._-]([a-zA-Z0-9]+)/}im)
strategy :page_match do |page, regex|
match = page.match(regex)
next if match.blank?

"#{match[1]},#{match[2]},#{match[3]}"
end
end

depends_on macos: ">= :high_sierra"

app "Pixel Shift Combiner.app"

zap trash: [
"~/Library/Application Support/com.fujifilm.denji/*Pixel Shift Combiner",
"~/Library/Preferences/com.fujifilm.denji.PIXEL-SHIFT-COMBINER.plist",
]
end

0 comments on commit 0d4617d

Please sign in to comment.