mPyKen / ScreenAreaShare

Share selected area of the screen in applications that do not support this, e.g. Teams.
MIT License
148 stars 19 forks source link

add mac build config #6

Closed jamieJames45 closed 2 years ago

jamieJames45 commented 2 years ago

Tested , and works on Macbook Pro M1 Max updated electron-builder version to 23.0.2 due to a dependency on python2 that has since been resolved added the mac/target/dmg to the build config

on mac to build properly , run "npm run dist"

Thanks, been looking for something like this this for ages..

mPyKen commented 2 years ago

Many thanks! could you share the resulting dmg file? I would add it to the Releases page

jamieJames45 commented 2 years ago

sure.. only tested on my machine M1 Max (Apple Silicon) for intel Macs, they would need to build themselves. Also , I made no attempt to sign the build. https://drive.google.com/file/d/13DEpTtO3Bq1xv2WCt0ODq1nRsdZlBBhK/view?usp=sharing

You can use github actions to build directly as part of your release for all platforms, see https://dev.to/erikhofer/build-and-publish-a-multi-platform-electron-app-on-github-3lnd

I can assist with setting that up if you get stuck.

mPyKen commented 2 years ago

Oh I did not know that, thank you! Let me look into this

TomMarg commented 1 year ago

Would be great to have a M1 release available. The one from jamieJames45 was not able to run on my M1-Pro (the .dmg was marked as „defect“?!) - however I‘d love to use the plugin on my MacBook Pro. :)

mPyKen commented 1 year ago

Added automated multi platform builds. Mac / Linux builds are untested and are not signed, so you might need to edit some settings to allow execution of the app.