Darling: How to run .app files?

Created on 8 Dec 2018  路  4Comments  路  Source: darlinghq/darling

Hello. How to run .app files?
Now my application is at the applications folder. What's a right command? I've tried that:
darling [software_name]
But I get:
'software_name' is not a supported command or a file.
I also tried to use darling shell but then I get that:
[software_name] is the directory

Discussion

Most helpful comment

In the future, you'll be able to run either:
$ darling run /Applications/MyApp.app
or
$ darling open /Applications/MyApp.app
or
$ darling shell open /Applications/MyApp.app
on _the host_, or
Darling [~]$ open /Applications/MyApp.app
from the Darling shell, and all of these are going to do essentially the same thing, run your app. And you're also going to be able to launch your app the same way you launch other native Linux apps you have installed (some sort of "start" or "applications" menu, depending on your DE).

For now, you should run
Darling [~]$ /Applications/MyApp.app/MacOS/MyApp
from the Darling shell.

And programs as complex as Affinity Photo definitely won't work yet, so don't set your hopes too high.

All 4 comments

Hello wusikijeronii,

On macOS and once Darling has it, you can use the open command to open anything from applications to documents, as if it was double-clicked in Finder (#425).

For now, you can run /Applications/MyApp.app/Contents/MacOS/MyApp, where it is the path to the main executable of the application within its bundle.

As GUI support is limited at this point, it will likely not work as well as you may hope, but we can create a GitHub issue to track it's compatibility if it is a publicly available application.

Hope this helps.

Hello wusikijeronii,

On macOS and once Darling has it, you can use the open command to open anything from applications to documents, as if it was double-clicked in Finder (#425).

For now, you can run /Applications/MyApp.app/Contents/MacOS/MyApp, where it is the path to the main executable of the application within its bundle.

As GUI support is limited at this point, it will likely not work as well as you may hope, but we can create a GitHub issue to track it's compatibility if it is a publicly available application.

Hope this helps.

Hello. I tried that:

`open AffinityPhotoBeta.app
and I get that:
Failed to get file descriptor pointing to console

darling open AffinityPhotoBeta.app
and I get that:
'open' is not a supported command or a file.

darling shell
open AffinityPhotoBeta.app
and I get that:
bash: open: command not found

What is wrong?

In the future, you'll be able to run either:
$ darling run /Applications/MyApp.app
or
$ darling open /Applications/MyApp.app
or
$ darling shell open /Applications/MyApp.app
on _the host_, or
Darling [~]$ open /Applications/MyApp.app
from the Darling shell, and all of these are going to do essentially the same thing, run your app. And you're also going to be able to launch your app the same way you launch other native Linux apps you have installed (some sort of "start" or "applications" menu, depending on your DE).

For now, you should run
Darling [~]$ /Applications/MyApp.app/MacOS/MyApp
from the Darling shell.

And programs as complex as Affinity Photo definitely won't work yet, so don't set your hopes too high.

Hi I am an Ubuntu user and I am trying to install mac app store using darling. I mount dmg file and installed MacOSXUpd10.6.6.pkg to my folder. But in the folder it is shown a a directory. Can you please help me. And sorry for my bad English. Hope you will understand my problem.

Thanks.

Was this page helpful?
0 / 5 - 0 ratings