diff --git a/.github/workflows/tauri.yml b/.github/workflows/tauri.yml index f309482..c2349d4 100644 --- a/.github/workflows/tauri.yml +++ b/.github/workflows/tauri.yml @@ -64,7 +64,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4.2.0 - with: + with: submodules: true - name: Setup node uses: actions/setup-node@v4.0.4 @@ -116,7 +116,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4.2.0 - with: + with: submodules: true - name: Setup node uses: actions/setup-node@v4.0.4 @@ -157,6 +157,13 @@ jobs: src-tauri/target/universal-apple-darwin/release/bundle/dmg/Cinny_desktop-universal.dmg src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny_desktop-universal.app.tar.gz src-tauri/target/universal-apple-darwin/release/bundle/macos/Cinny_desktop-universal.app.tar.gz.sig + - name: Update Homebrew formula + uses: dawidd6/action-homebrew-bump-formula@v3 + with: + token: ${{secrets.TOKEN}} + no_fork: true + tap: cinnyapp/cinny-desktop + formula: cinny # Upload release.json release-update: diff --git a/Casks/cinny.rb b/Casks/cinny.rb new file mode 100644 index 0000000..c9bb651 --- /dev/null +++ b/Casks/cinny.rb @@ -0,0 +1,26 @@ +cask "cinny" do + version "4.0.3" + sha256 "1aff22fa0b20b82daf5ab578ed4ed658311226bc5417081a0f4af5d32a84c446" + + url "https://github.com/cinnyapp/cinny-desktop/releases/download/v#{version}/Cinny_desktop-universal.app.tar.gz" + name "cinny" + desc "Yet another matrix client for desktop" + homepage "https://github.com/cinnyapp/cinny-desktop" + + livecheck do + url :url + strategy :github_latest + end + + auto_updates true + depends_on macos: ">= :high_sierra" + + app "Cinny.app" + + zap trash: [ + "~/Library/Caches/in.cinny.app", + "~/Library/Preferences/in.cinny.app.plist", + "~/Library/Saved Application State/in.cinny.app.savedState", + "~/Library/WebKit/in.cinny.app", + ] +end