desktop-example-app icon indicating copy to clipboard operation
desktop-example-app copied to clipboard

How to start a macOS app?

Open adri opened this issue 4 years ago • 3 comments

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!

adri avatar Oct 13 '21 09:10 adri

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 avatar Oct 28 '21 07:10 IvanShpotenko

@IvanShpotenko I can't get this working following these steps.

jonathanstiansen avatar Jan 01 '22 22:01 jonathanstiansen

@IvanShpotenko thanks for the the nudge in the right direction. That worked for me on an M1 Mac.

winescout avatar Feb 11 '22 01:02 winescout

Thanks @IvanShpotenko the instruction has been merged into the readme https://github.com/elixir-desktop/desktop-example-app#application-set-up

dominicletz avatar Aug 16 '22 21:08 dominicletz