I have created a standalone application and you are right, I cannot really export the model with gltf but only while running it in editor. You can check the application folder in my github projects. (It is still in development when I stopped developing it due to academic stuff)