daniloc / PicoW_HomeAssistant_Starter

Everything you need to get started with your own Intranet of Things, using the high-quality, low-cost Pico W as the backbone.
MIT License
198 stars 20 forks source link

Upload fails on Linux due to Mac-specific script in platformio.ini #1

Closed dustin-richards-was-here closed 1 year ago

dustin-richards-was-here commented 2 years ago

My Linux system complains that osascript doesn't exist in the post-upload step, due to mac-post-upload.py. Could platformio.ini be set up to only run this step on Mac systems? Or maybe add an OS check to mac-post-upload.py?

I was able to get the upload to work by just removing the script from platformio.ini.

(I may submit a pull request for this later, just wanted to throw it out there in case someone else wanted to get to it before me since it's probably not too complicated)

daniloc commented 1 year ago

@dustin-richards-was-here thanks so much for raising this!