From ba34ba2e58980c796ec4dfad77610b7c57a90f94 Mon Sep 17 00:00:00 2001 From: Paul Liu Date: Mon, 13 Feb 2017 00:03:42 -0500 Subject: [PATCH] Update iA Writer bundle id (#464) --- docs/recipes.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/recipes.rst b/docs/recipes.rst index e1aef9a9..ddf6c9cd 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -108,10 +108,17 @@ On OS X, you can use the fabulous `iA Writer `_ to .. code-block:: javascript - "editor": "open -b jp.informationarchitects.WriterForMacOSX -Wn" + "editor": "open -b pro.writer.mac -Wn" What does this do? ``open -b ...`` opens a file using the application identified by the bundle identifier (a unique string for every app out there). ``-Wn`` tells the application to wait until it's closed before passing back control, and to use a new instance of the application. +If the ``pro.writer.mac`` bundle identifier is not found on your system, you can find the right string to use by inspecting iA Writer's ``Info.plist`` file in your shell: + +.. code-block:: sh + + $ grep -A 1 CFBundleIdentifier /Applications/iA\ Writer.app/Contents/Info.plist + CFBundleIdentifier + pro.writer.mac Notepad++ on Windows ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~