-
Notifications
You must be signed in to change notification settings - Fork 156
Cannot launch app from the command line? #41
Comments
Probably related to another OSX-specific behavior such as: https://github.com/atom/electron/blob/master/docs/api/app.md#event-open-file-os-x Right now you can try with |
Note: on OS X the executable will be in /Applications/Abricotine.app/Contents/MacOS/Electron (assuming you put the app bundle in in /Applications). |
I think that b1e20d7 fixed this issue. |
OS X launches the application, but Abricotine does not open the document. It gives the following error:
The application is basically an empty shell. No menus are visible except the Application menu, keyboard shortcuts do not work, no window opens. This isn't just the command line either: right-click markdown file in Finder>Open With>Other...>Abricotine also gives the same error. If Abricotine is already open, nothing happens. |
@nloveladyallen thanks for reporting. I created a dedicated branch where this issue should be fixed now. Could someone try it and tell me if it works? Can you try:
By saying "open a file", I mean either to use the Thanks |
This works.
Only the second file opens.
This does not work either. The application comes into focus but the file is not opened. |
I updated the |
It works now. One file, two files, and already-open all work as expected, from Finder or command line. |
Very good news! It will be in v. 0.3.1. |
Not sure what's happening yet, but I've tried launching the application from the command line as I would for any other app --
open <filename> -a Abricotine
-- and the application launches but does not spawn any windows. When I launch the app with Finder, it seems to do fine.The text was updated successfully, but these errors were encountered: