G
G
Greendq2015-10-23 15:15:54
Mono
Greendq, 2015-10-23 15:15:54

MacOS Mono bundle app - how to get the full path of the application?

There is Mono - an application from which a monolithic executable file is made (using mkbundle). This file is then placed in a Finder-friendly directory structure and looks and runs like a normal application. The problem is getting inside the application the full path to the installed application.
Standard functions and properties ( Environment.GetCommandLineArgs(), Application.ExecutablePath, Application.StartupPath) do not reflect reality - either they contain only the root as a directory or only the name of the executable file (moreover, the original .exe, not the bundle).
Is there any way I can get what I need?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question