Skip to content

Commit

Permalink
Add obs-advanced-scene-switcher cask (#139807)
Browse files Browse the repository at this point in the history
* [WIP] Add obs-advanced-scene-switcher cask

This adds a cask for https://obsproject.com/forum/resources/advanced-scene-switcher.395

It's currently blocked by figuring out how to get the plugin into the
correct directory. See code comments.

* Update obs-advanced-scene-switcher.rb

* Update obs-advanced-scene-switcher.rb

---------

Co-authored-by: Miccal Matthews <[email protected]>
  • Loading branch information
sambostock and miccal authored Mar 5, 2023
1 parent 35375cf commit 071ed7c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Casks/obs-advanced-scene-switcher.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
cask "obs-advanced-scene-switcher" do
arch arm: "arm64", intel: "x86_64"

version "1.20.5"
sha256 arm: "086227b8c7a4fbbcbe16bc7926bbaeaf43a93777afffe1193114349ab0c7fe5c",
intel: "1ba88b767c436d4ecff1a6ecb84461028724fa4cc6eb57c031d2f4fffcf4050d"

url "https://github.com/WarmUpTill/SceneSwitcher/releases/download/#{version}/advanced-scene-switcher-macos-#{arch}.pkg",
verified: "github.com/WarmUpTill/SceneSwitcher/"
name "OBS Advanced Scene Switcher"
desc "Automated scene switcher for OBS Studio"
homepage "https://obsproject.com/forum/resources/advanced-scene-switcher.395"

depends_on cask: "obs"

pkg "advanced-scene-switcher-macos-#{arch}.pkg"

uninstall pkgutil: "com.warmuptill.advanced-scene-switcher",
delete: "/Library/Application Support/obs-studio/plugins/advanced-scene-switcher.plugin",
rmdir: "/Library/Application Support/obs-studio/plugins"
end

0 comments on commit 071ed7c

Please sign in to comment.