-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #187234 from yunhao-jiang/pixel-shift-combiner
pixel-shift-combiner 1.5.0,1050,sgwn5e23 (new cask)
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -638,6 +638,7 @@ pieces | |
pieces-os | ||
pile | ||
pitch | ||
pixel-shift-combiner | ||
plasticscm-cloud-edition | ||
playdate-simulator | ||
plex | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |