[SOLVED] Open Defold from shell on specific project

I’ve been messing with some utility scripts to help me work with Defold from an external editor. I’ve using as reference Defold Kit.
The issue I’m having so far from is that I have a code based on this implementation, the open command is essentially expanded to:
open '/Applications/Defold.app' '/Users/xxxxx/projects/defold/platformer-game'

The thing is that although this does open Defold (and the game directory), it doesn’t open the project inside Defold, just an unusual Defold instance.

Are there any place on the docs I can check some flags I may be missing or something like that when running the process from a shell command?

Oh, I actually was missing pointing the game.project file on my script, as I discovered on Defold Kit source as I read it further :sweat_smile:

1 Like