First I want to say, thank you for setting this up. I've used it for every playdate project I've done and it makes getting started very easy.
One issue I've always had is this: On Windows if you manually close the simulator, it'll remember if the console is open and reopen it. If you build while the simulator is already open, the console will not open by default, requiring you to manually open it.
I did figure out a fix, though. I changed this line in Build and Run (Simulator).ps1
$sim.CloseMainWindow()
to
Stop-Process -InputObject $sim
and it seems to fix the issue. The Simulator will remember if the console was open and open it by default.
I would submit a pr, but I already have a fork of this and don't know how to pr just that one change. >_>
First I want to say, thank you for setting this up. I've used it for every playdate project I've done and it makes getting started very easy.
One issue I've always had is this: On Windows if you manually close the simulator, it'll remember if the console is open and reopen it. If you build while the simulator is already open, the console will not open by default, requiring you to manually open it.
I did figure out a fix, though. I changed this line in Build and Run (Simulator).ps1
to
and it seems to fix the issue. The Simulator will remember if the console was open and open it by default.
I would submit a pr, but I already have a fork of this and don't know how to pr just that one change. >_>