OrangeDrangon / android-messages-desktop

Android Messages as a Cross-platform Desktop App
Other
312 stars 27 forks source link

Homebrew Package #382

Closed anonymousaga closed 2 years ago

anonymousaga commented 2 years ago

I prefer to install my apps via homebrew for easier management/listing. Is it possible to get this app as a homebrew package?

OrangeDrangon commented 2 years ago

I know nothing like this but I am open to the idea. I assume someone needs to write a homebrew file of some sort and add it to a repo or something.

anonymousaga commented 2 years ago

scroll down to the casks section of this guide: https://docs.brew.sh/Adding-Software-to-Homebrew

anonymousaga commented 2 years ago

sorry, I just realized that forks cannot become casks, only original repos. If you would like to set up a tap instead, then here is a file you can publish to a repo called "homebrew-xxxxxx" with a folder called "Casks" inside it, then the rb file inside the folder.

android-messgaes-orangedragon.rb.zip

OrangeDrangon commented 2 years ago

homebrew-android-messages-orangedrangon?

anonymousaga commented 2 years ago

No, you create a repo called homebrew-anything, such as homebrew-apps. Then anyone can tap OrangeDragon/apps in brew. Create a "Casks" folder inside it, and put the rb file inside the casks file.

OrangeDrangon commented 2 years ago

i see. ill do that.

OrangeDrangon commented 2 years ago

when i update do i just bump the version in that file?

OrangeDrangon commented 2 years ago

https://github.com/OrangeDrangon/homebrew-apps

anonymousaga commented 2 years ago

Yes, this is all you have to do to bump the version. On another note, i had to create a pull request to correct a typo in the file from “dragon” to “drangon”. I will test the install tomorrow, after you have accepted the pull request. Then, i will close the issue. Thanks for your cooperation and consideration.

OrangeDrangon commented 2 years ago

it is merged

anonymousaga commented 2 years ago

ok, just tested. One last typo - "messgaes." I tested with the file, and it works now. Just accept the new pull request i sent you, and it should work. Thanks! You can also state this feature in your readme, if you wish.

OrangeDrangon commented 2 years ago

Merged