-
Notifications
You must be signed in to change notification settings - Fork 0
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 #11 from 0risc/zen
Add `zen-browser`.
- Loading branch information
Showing
4 changed files
with
85 additions
and
21 deletions.
There are no files selected for viewing
40 changes: 20 additions & 20 deletions
40
.github/workflows/test-casks.yml → .github/disabled-test-casks.yml
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
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,27 @@ | ||
name: Require pr-pull label | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- 'Formula/**' | ||
|
||
jobs: | ||
check-for-label: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: exit 0 | ||
if: true && contains( github.event.pull_request.labels.*.name, 'pr-pull' ) | ||
|
||
- run: exit 1 | ||
if: true && !contains( github.event.pull_request.labels.*.name, 'pr-pull' ) | ||
|
||
check: | ||
if: always() | ||
needs: | ||
- check-for-label | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Determine whether the needed jobs succeeded or failed | ||
uses: re-actors/alls-green@release/v1 | ||
with: | ||
jobs: ${{ toJSON(needs) }} |
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
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,26 @@ | ||
cask "zen-browser" do | ||
arch arm: "aarch64", intel: "x64" | ||
|
||
version "1.0.0-a.29" | ||
sha256 arm: "b9892f13bb1c8cd0c6ab0de73f923641ca0cce1bd68ecffaf683fd01fdd30251", | ||
intel: "934b294ba30586a31c2c62e88ef95c42312f9e0172e9977d495c909934d5ba25" | ||
|
||
url "https://github.com/zen-browser/desktop/releases/download/#{version}/zen.macos-#{arch}.dmg" | ||
name "Zen Browser" | ||
desc "Zen web browser" | ||
homepage "https://github.com/zen-browser/desktop" | ||
|
||
livecheck do | ||
url :url | ||
end | ||
|
||
auto_updates true | ||
depends_on macos: ">= :catalina" | ||
|
||
app "Zen Browser.app" | ||
|
||
zap trash: [ | ||
"~/Library/Preferences/org.mozilla.com.zen.browser.plist", | ||
"~/Library/Saved Application State/org.mozilla.com.zen.browser.savedState", | ||
] | ||
end |