Running .pdx package from Terminal (macOS)

Hello everyone :wave:t4:, I'm trying to learn developing games for the Playdate.

I would like to run the .pdx file after I compile it directly from the terminal. Using the standard ./ ( ./<name of file>.pdx ) to run executables in UNIX environments opens it as a directory in the Terminal rather than run the simulator.

Is there some other way to run the pdx file in the simulator from the terminal?

passing full path of the pdx directory of your games as 1st parameter to the simulator binary works on windows & linux but i don't know about mac

You should be able to do

$ open game.pdx

to open it in the default app registered for that file type (Simulator)

1 Like

That worked. Thanks a lot!!

1 Like