Got annoyed testing things directly on the PlayDate via simulator and made a small make command for automating the pdx deployment with `make deploy`.

Unfortunately it seems udiskctl power-off doesn't send the eject signal to the device so I have to resort to using `sudo eject` instead, but other than that this should be much faster to iterate on device now.

Once again, this is partly based on @mario_afk bash script from this article:

https://amano.games/devlog/making-a-pinball-game-for-the-playdate-part-12-the-bug-hunt

#PlayDate

@bd
I was starting to think about doing something like that! Thanks!

Do you really need to eject from the computer side though? When I ctrl-U I see notifications for udiskie mounting the PD and unmounting it after the copying is done.
Then I press A on the device to eject and restart.

OTOH, what I'd really like would be for the simulator to automatically reload when I compile a new PDX (I guess I could kill it and restart but it doesn't feel efficient)
@mario_afk

@maxx @bd I have this for force closing the sim hehe

#! /bin/bash
SIM_PID=$(pgrep -f 'PlaydateSimulator')

echo "$SIM_PID" | xargs -r kill -9