desktop-example-app
desktop-example-app copied to clipboard
How to start a macOS app?
Hi! First: This looks like a super cool project! Thank you so much for doing this.
In the example I don't understand yet how to start a MacOS app. Do I need Xcode like for iOS apps? But then I didn't see a Xcode project. Thanks again!
It looks like you have to do
npm i --prefix assets
mix assets.deploy
and then run the app with ./run.
This will launch the app as a native macOS app in dev mode with live reloading.
I haven't figured out yet, though, how to package the app, eg. as .dmg
@IvanShpotenko I can't get this working following these steps.
@IvanShpotenko thanks for the the nudge in the right direction. That worked for me on an M1 Mac.
Thanks @IvanShpotenko the instruction has been merged into the readme https://github.com/elixir-desktop/desktop-example-app#application-set-up