Opening the folder as workspace

How can we open a folder as workspace in electron app.

you help me and I’ll help you too: Theia doesn't build - tried for 3 days and I'm about to give up

just googled your issue and found this: Is there a way to launch and default open a particular folder as a workspace?

you can learn about the Theia Workspace Module here: workspace | Theia TypeDoc

will this help you?