-
Notifications
You must be signed in to change notification settings - Fork 156
Creating new files from command line #135
Comments
Great suggestion. |
Not the ideal location to put this, but I couldn't find a better one: On Windows, starting an existing file requires a bit more work, at least to make it robust w.r.t. version updates. The Abricotine shortcut on Windows actually calls the updater, which in turn starts Abricotine. This is probably done to check for updates at startup, and to be robust to version changes, as Abricotine.exe seems to be located in a directory with a version number in its name. E.g., in my case, If you want to open a specific file when starting Abricotine, (copy and) append the following to the 'target' field of the existing Abricotine start menu shortcut:
For example, the resulting shortcut target could be:
This took me some time to figure out, and might be useful to others. |
@tjallingran This is because Abricotine installer is created with Squirrel.Windows. Thank you for the trick which I didn't know, though. I'll update the documentation... or maybe directly update to the latest version of Squirrel which is obviously not using Update.exe anymore: #152. |
@brrd Yeah, maybe I should have mentioned that I found the Their decision to change from using Update.exe to a "dummy" executable (#152) definitely seems like a good choice. |
While abricotine works great when trying to open an existing file from the command line, it does not like trying to create one that doesn't already exist. It would be really great if running
abricotine test.md
would createtest.md
if it can't open it.Thanks! I'm really liking using Abricotine to take notes in markdown, this is a great markdown editor.
The text was updated successfully, but these errors were encountered: