<@U02GUH3PGJX> extending from <here> :thread-pleas...
# compose-desktop
t
@Kebbin extending from here 🧵
How onerous is it to actually create a CfD program for macOS?
To create distribute (See @Michael Paus’s comment)an executable (
dmg
) for macos, you’ll need a developer account. But, you can create a
jar
file using one of the gradle task (I don’t exactly recall the task name) and you can share the jar with others.
@Mike Penz setup a CI/CD pipeline for one of our pet projects to build
exe
for Windows,
deb
for debain/ubuntu, and
jar
for mac. See the yml file here : https://github.com/theapache64/stackzy/blob/master/.github/workflows/ci.yml
👍 1
m
This is a little bit misleading for macOS. You do NOT need a developer account to create a DMG. I just did it without having one.
Copy code
> Task :desktop:packageDmg
The distribution is written to [...]/build/compose/binaries/main/dmg/jvm-1.0.0.dmg
What you probably mean is that you need a developer account if you want to actually distribute this DMG to other people and want them to be able to install the content without doing some tricky extra work. But if you want to you can even do that. Just tell them to apply
Copy code
sudo xattr -r -d com.apple.quarantine <your-program-from-dmg>.app
on the extracted program from the DMG and it will work.
❤️ 1
t
Agreed. I meant the same. Updated the comment. Thanks for clarifying @Michael Paus
k
Thanks very much guys! Apache, you have very interesting projects on the boil! I like your klokk! Michael, thanks again for helpful tips! I had forgotten I could use jar files, so will be good for testing, but it's not as elegant. With that quarantine command, does it need to be run before installation? Could it be bundled as a shortcut that users could click on, rather than typing in? Thanks again for your time and interest in my learning! 😄👍
🙇 1