And, if I understood correctly, what I need to hide the console is create a bundle for the application?
Yes, you need to create your own bundle for application