Remove Homebrew Cask files

These are not needed any more; Zen has been accepted into the Homebrew Cask repository
This commit is contained in:
AltCode
2024-09-10 15:45:39 +02:00
parent 22ffac163d
commit 6b20c47f06
4 changed files with 13 additions and 92 deletions

View File

@@ -508,54 +508,10 @@ jobs:
commit-message: 🚀 Update to version ${{ needs.build-data.outputs.version }}
title: 🚀 Update to version ${{ needs.build-data.outputs.version }}
body: |
This PR updates the Zen Browser Flatpak package to version ${{ needs.build-data.outputs.version }}.
This PR updates the Zen Browser Flatpak package to version ${{ needs.build-data.outputs.version }}.
@${{ github.actor }} please review and merge this PR.
branch: update-to-${{ needs.build-data.outputs.version }}
base: master
git-token: ${{ secrets.DEPLOY_KEY }}
delete-branch: true
release-homebrew:
if: ${{ github.event.inputs.create_release == 'true' }}
permissions: write-all
name: Homebrew release
needs: [release, mac, build-data]
runs-on: ubuntu-latest
steps:
- name: Clone repo
uses: actions/checkout@v4
with:
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup git
run: |
git pull
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Download macOS ARM build
uses: actions/download-artifact@v4
with:
name: zen.macos-aarch64.dmg
- name: Download macOS x64 build
uses: actions/download-artifact@v4
with:
name: zen.macos-x64.dmg
- name: Update zen-browser Cask
run: sh .github/workflows/src/update-homebrew.sh ${{ needs.build-data.outputs.version }}
- name: Clean up
run: |
rm -rf zen.macos-x64.dmg
rm -rf zen.macos-aarch64.dmg
- uses: stefanzweifel/git-auto-commit-action@v4
if: ${{ github.event.inputs.update_version == 'true' }}
with:
commit_message: 🔖 Update version to ${{ steps.data.outputs.version }} for homebrew!
commit_user_name: Zen Browser Robot
commit_user_email: zen-browser-bot@users.noreply.github.com

View File

@@ -1,8 +0,0 @@
latest_version=$1
sed -i "s/version \".*\"/version \"${latest_version}\"/" ./Casks/zen-browser.rb
sha_x64=$(shasum -a 256 zen.macos-x64.dmg)
sha_arm=$(shasum -a 256 zen.macos-aarch64.dmg)
sed -i "N;s/sha256 arm: \".*\",\n intel: \".*\"/sha256 arm: \"${sha_arm}\",\n intel: \"${sha_x64}\"/" ./Casks/zen-browser.rb

View File

@@ -1,27 +0,0 @@
cask "zen-browser" do
arch arm: "aarch64", intel: "x64"
version "1.0.0-a.39"
sha256 arm: "0cf18406f61225c53ca20391b37dcdcbfd3dd80bf758639b56962e38085e529d",
intel: "4de8907641989639ee159681cd131a22a20fcf414373543a62ee0f9df2739845"
url "https://github.com/zen-browser/desktop/releases/download/#{version}/zen.macos-#{arch}.dmg",
verified: "github.com/zen-browser/desktop/"
name "Zen Browser"
desc "Beautifully designed, privacy-focused browser packed with awesome features"
homepage "https://zen-browser.app/"
auto_updates true
depends_on macos: ">= :catalina"
app "Zen Browser.app"
zap trash: [
"~/Library/Application Support/zen",
"~/Library/Caches/Mozilla/updates/Applications/Zen Browser",
"~/Library/Caches/zen",
"~/Library/Preferences/org.mozilla.com.zen.browser.plist",
"~/Library/Saved Application State/org.mozilla.com.zen.browser.savedState",
],
rmdir: "~/Library/Caches/Mozilla"
end

View File

@@ -9,9 +9,9 @@ Zen Browser
Experience tranquillity while browsing the web without people tracking you!
- [Website](https://www.zen-browser.app)
- [Download](https://www.zen-browser.app/download)
- [Release Notes](https://www.zen-browser.app/release-notes/latest)
- [Website](https://zen-browser.app)
- [Download](https://zen-browser.app/download)
- [Release Notes](https://zen-browser.app/release-notes/latest)
[![Downloads](https://img.shields.io/github/downloads/zen-browser/desktop/total.svg)](https://github.com/zen-browser/desktop/releases)
[![Crowdin](https://badges.crowdin.net/zen-browser/localized.svg)](https://crowdin.com/project/zen-browser)
@@ -26,7 +26,7 @@ Experience tranquillity while browsing the web without people tracking you!
Zen is currently built using firefox version `130.0`!
- Check out the latest [release notes](https://www.zen-browser.app/release-notes)!
- Check out the latest [release notes](https://zen-browser.app/release-notes)!
# Performance
@@ -36,14 +36,18 @@ Zen is built with performance in mind, and we have optimized the browser to be a
# Installation
## MacOS
## Supported Operating Systems
### Homebrew (recommended)
Zen is available for Linux, macOS, and Windows. You can download the latest version from the official website at [zen-browser.app](https://zen-browser.app/download), or from the [GitHub Releases](https://github.com/zen-browser/desktop/releases) page.
You can install the Zen Browser using Homebrew:
### macOS
- Requires macOS 10.15 or later
- Available for ARM and Intel architectures
You can also install Zen using Homebrew:
```
brew tap zen-browser/browser https://github.com/zen-browser/desktop.git
brew install --cask zen-browser
```
@@ -54,10 +58,6 @@ brew update
brew upgrade --greedy zen-browser
```
### Manual installation
As there are issues with the signing process of the `.app` file, we recommend following this [guide](https://github.com/zen-browser/desktop/issues/53).
# Core Components
Some components used by @zen-browser as an attempt to make firefox forks a better place. You can find them [here](https://github.com/zen-browser/components).