Skip to content

Commit

Permalink
Replace Wineskin with Kegworks
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcenx committed Oct 11, 2024
1 parent 6fe693b commit 6730966
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 69 deletions.
29 changes: 29 additions & 0 deletions Casks/kegworks.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cask "kegworks" do
version "2.0.3"
sha256 "bc30236554c7333f35fbff78b7eb849854b5c9521a917007cc9b4944421c5b6a"

url "https://github.com/Kegworks-App/Winery/releases/download/v#{version}/winery-v#{version}.tar.xz"
name "Winery"
desc "Porting tool, to make Windows programs/games into native apps"
homepage "https://github.com/Kegworks-App"

depends_on macos: ">= :catalina"

app "Winery.app", target: "Kegworks Winery.app"

postflight do
system "/usr/bin/xattr", "-drs", "com.apple.quarantine", "#{appdir}/Winery.app"
system "/usr/bin/codesign", "--force", "--deep", "-s", "-", "#{appdir}/Winery.app"
system_command "/bin/mkdir", args: ["-p", "/Users/#{ENV.fetch("USER")}/Applications/Kegworks"], sudo: false
end

zap trash: [
"~/Library/Application Support/Kegworks",
"~/Library/Caches/com.unofficial.winery",
"~/Library/Caches/com.unofficial.wineskin",
]

caveats do
requires_rosetta
end
end
34 changes: 0 additions & 34 deletions Casks/wineskin-devel.rb

This file was deleted.

34 changes: 0 additions & 34 deletions Casks/wineskin.rb

This file was deleted.

3 changes: 2 additions & 1 deletion cask_renames.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"gstreamer-framework": "gstreamer-runtime",
"unofficial-wineskin": "wineskin"
"unofficial-wineskin": "wineskin",
"wineskin": "kegworks"
}

0 comments on commit 6730966

Please sign in to comment.