cinnyapp / cinny-desktop

Yet another matrix client for desktop
GNU Affero General Public License v3.0
407 stars 49 forks source link

Release macOS arm build of cinny-desktop + hombrew cask #62

Open jasikpark opened 2 years ago

jasikpark commented 2 years ago

Describe the problem

I'd like to install cinny desktop on my MacBook pro with an M1 chip via brew install cinny

Describe the solution you'd like

Add macos-arm to the supported targets that cinny-desktop builds to + setup a homebrew cask tracking that repo

Alternatives considered

No response

Additional context

C0ffeeCode commented 2 years ago

Maybe also release arm Windows builds.

kfiven commented 2 years ago

arm64 for linux as well. cinnyapp/cinny#553

arjpar commented 1 year ago

Any update on this @kfiven? I have a cask file prepared but Cinny desktop will have to be a universal binary and signed.

kfiven commented 1 year ago

@arjpar Last time I tried, couldn't build the universal binary using GitHub actions.

arjpar commented 1 year ago

@kfiven Apparently you can use a Github Action called macos-universal-binary-action to create and upload macOS universal binaries. This action takes several inputs such as owner, repository, tag, amd64, arm64 etc. You can find more details about this action on its Github Marketplace page here.

solus-hq commented 1 year ago

@arjpar Is it possible to somehow obtain a build or instruction to build for Mac with M1 processors?

arjpar commented 1 year ago

@solus-hq Are you talking about building on a Mac with Apple Silicon (M1, M2, etc)? For building I guess you would look at the GitHub action I linked in the comment above. I have no experience using GitHub actions though, so sorry I couldn't be of more help. I'm not sure if there's a GitHub action to create a Universal binary for Tauri applications.

solus-hq commented 1 year ago

@arjpar Yes, you're completely correct, I'm looking for some manual to build it for an M1 powered Mac. Have no experience with Github actions as well, but I guess I have to check if Tauri compiles on M1.

arjpar commented 1 year ago

@solus-hq You can compile Tauri apps to universal binaries. See here.

traktuner commented 1 year ago

+1 please release cinny for ARM macOS. It's the only app which uses rosetta2 on my machine.

ppkhoa commented 1 year ago

+1 for Windows ARM64. As of now, there's no Matrix client desktop app for Windows arm64 (not counting web app through arm64 browser)

arjpar commented 1 year ago

@ppkhoa You should probably open a separate issue for Windows on ARM64 if there isn't an open issue already.

ghost commented 1 year ago

I've seen there is even a macos-aarch64 workflow which is just commented out.

It might be interesting to know what the issue was there

bernardoaraujor commented 1 year ago

any updates?

leisefuxX commented 8 months ago

bump possible?

Neved4 commented 3 months ago

Made my own tap 🎉

brew install neved4/tap/cinny

The above should just work. Ideally, Cinny would roll its own tap upstream, like: homebrew-tap/cinny.rb.

To do it in the official Homebrew repos, since Apple Silicon requires signed code you'll likely have to generate a certificate, add it to your Github secrets, then modify tauri.yml as per tauri.app/sign-macos/#example. Cheers 🤍