Publish MacOS package to homebrew
vdsirotkin opened this issue · comments
Hey!
Homebrew (https://brew.sh/) is a very popular package manager for MacOS. It would be nice if you publish updates there :)
Thanks!
This was brought up previously in #138
Much of what I said in that issue still holds, though I'm a bit more apt to consider additional ways to publish the application now that I've automated much of the release process. I have no way to test/debug/support any issues with MacOS or publishing it to Homebrew or know the level of effort involved. If someone was willing to implement/own the process to publish it to Homebrew I'd consider it as long as it does not add any extra burden to publishing releases (e.g. meaning it was integrated into the CI process).
I can submit the package to the homebrew but the .dmg
file should be signed first.
macOS on ARM requires software to be signed.
Please contact the upstream developer to let them know they should sign and notarize their software.
This is the error message I'v got when I try to do that.
I added the temporary PR #531 where it uses this repo as the custom tap. When you sign the package correctly, then I can add the package to the main homebrew-cask
later.
How do I sign the package?
I don't know either but AFAIK you require the apple developer id and some process. If the package is not signed, then the only way to serve the package through the brew is the custom tap and cannot submit to the homebrew-cask
.
I don't know either but AFAIK you require the apple developer id and some process.
I've not had anyone actually describe the process or tell me what is needed. I don't know this process at all and don't want to have to add yet more work into a release process. If it can be automated, I'd definitely consider it.
Even if the package is not signed do you still see #531 as being valuable?
Yeap, just one more command line to tap your repo. Without automation, someone have to update the version info manually but also it can be done easily with brew command.
brew bump --cask --open-pr notepadnext
All this is for use of cli not manually install the package and so it will be valuable.
I read several articles how to sign for the package, for example:
It requires the apple developer id which should be paid around $99/year and so maybe the third-party tap is reasonable if you are not plan to support macOS extensively.
which should be paid around $99/year
Knowing Apple this doesn't surprise me. 😡
Not something I'm willing to invest in for a while. So sounds like homebrew won't be supported for the foreseeable future.
Sorry to necro a closed issue. I just downloaded NotePad Next on my MacOS machine and got the usual nonsense from Apple about it being insecure. In case you weren't aware, this is what it looks like:
![image](https://private-user-images.githubusercontent.com/1841272/355381860-4913f122-a0a2-469f-8a36-646680111a4a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDA5NjksIm5iZiI6MTcyNDAwMDY2OSwicGF0aCI6Ii8xODQxMjcyLzM1NTM4MTg2MC00OTEzZjEyMi1hMGEyLTQ2OWYtOGEzNi02NDY2ODAxMTFhNGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MThUMTcwNDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjIwZGU5MTg1ZDA1ZGEwMDg0ZjdjNzQ1MmFlYWI3MmFhNWNlZGRjZTczYWZlZWQxOWUzZWFjYWVkZWE2MGQzYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.zHLxqFDWusCO4W-F03YnSjjJiQsqEKM03H_tIeXG_j8)
Users then have to choose to eject the disk image and forget the app, or navigate to a scary place...
![image](https://private-user-images.githubusercontent.com/1841272/355382265-70423056-88c2-4226-b957-cd98f5a643a3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDA5NjksIm5iZiI6MTcyNDAwMDY2OSwicGF0aCI6Ii8xODQxMjcyLzM1NTM4MjI2NS03MDQyMzA1Ni04OGMyLTQyMjYtYjk1Ny1jZDk4ZjVhNjQzYTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MThUMTcwNDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTc4ZDA0MjY1ZGZmYTc3MjdhOTI0ZTM5OGM3Mjk0ZmQzNjhkOTk1YzBlYjYyYzk3NDBmNTY3MjgxNDk0YThmOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.-BXobLka8-3_6tdX1uJmkKEFceJy24m0SYpAZpV4Hgw)
Click 'Open Anyway'. Type in their password, or press the fingerprint button, then more scary text:
![image](https://private-user-images.githubusercontent.com/1841272/355382573-551eb103-0074-41b2-9bf5-ab0c1f88b0a7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDA5NjksIm5iZiI6MTcyNDAwMDY2OSwicGF0aCI6Ii8xODQxMjcyLzM1NTM4MjU3My01NTFlYjEwMy0wMDc0LTQxYjItOWJmNS1hYjBjMWY4OGIwYTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MThUMTcwNDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OGZhMzE3ZTVlODRmNzJlODRmOGFhZDYzMjhmYTM2ODZiYmMzMjQ2ZWQwMGU1NmRhMzFkZGVhNjBlMTExMWFkMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.hAYQNFStvyqIjzIqvIOcskCYgG15_wZrtwkHl6Xidh0)
Finally:
I just wanted to mention quill which is a tool my employer made, which enables you to sign Mac binaries without having a Mac, and automagically. We use it to sign our MacOS binaries of other software we make.
This does still mean you have to pay the Apple Tax of $99/year.
I really value the work you have done on NotepadNext, so would volunteer to pay your first two years of $198 (around £155 in my local currency), as a gift, if that helps you. No worries if not, I won't be offended.
Making a signed binary is more work for you, of course, but it means potentially more users. You may even want to publish it in the Apple MacOS store at some point, and you could very easily charge for that. As you probably know, MacOS users tend to have credit cards on file, so purchasing flow is smoother than on other platforms.
But that introduces even more admin for you. Which I completely respect, if you'd rather not have to deal with. 🙏
Thanks and again, apologies for ressurecting a closed issue.
In case you weren't aware, this is what it looks like
That's definitely good to see!
I really value the work you have done on NotepadNext, so would volunteer to pay your first two years of $198 (around £155 in my local currency), as a gift, if that helps you.
That is quite the gracious offer! But for now I don't feel the extra work involved in signing it is worth it. I have no way to test/support/debug anything Mac related so it has been only made available by other willing to offer their support.