godots icon indicating copy to clipboard operation
godots copied to clipboard

[Question] CLI using Flatpak on Linux

Open ExposedCat opened this issue 1 year ago • 4 comments

Is there a way to use CLI options in a Flatpak version on Linux? flatpak run io.github.MakovWait.Godots -- command doesn't seem to work

ExposedCat avatar Oct 17 '24 20:10 ExposedCat

Sadly I have no idea :c

MakovWait avatar Oct 18 '24 07:10 MakovWait

So there is a binary /var/lib/flatpak/exports/bin/io.github.MakovWait.Godots which can be used but it seems that it doesn't provide all the Godot's CLI options such as --export-release

ExposedCat avatar Jan 26 '25 18:01 ExposedCat

@ExposedCat I did it in a script today. I looked at the path of the applet and it was /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=godots io.github.MakovWait.Godots

My full command to launch a specific project with the editor is: /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=godots io.github.MakovWait.Godots exec -- -e --path /path/to/project_folder

MrEliptik avatar Jul 11 '25 13:07 MrEliptik

@MrEliptik thanks for noting! my issue was/is to export the project from CLI. Basically I'm working in an extenal IDE and I don't want to go through menus all the time

ExposedCat avatar Jul 11 '25 14:07 ExposedCat