From bb1dba1b994f0b8ccce3511d0e56a7ef1799c6a5 Mon Sep 17 00:00:00 2001 From: flan Date: Mon, 24 Dec 2018 17:19:12 +0100 Subject: [PATCH] Update addon folder It depends on the platform anyway, and the directory in the README was outdated anyway (https://github.com/dae/anki/commit/57c8e433274c95c5bd059cd7fe4d6483a949d869). --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1b5bb78..324c1e7 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,9 @@ Setting up Anki ### Anki 2.1 -Create a new directory in `~/Anki/addons21` (name it something like ankisyncd), -create a file named `__init__.py` containing the code below and put it in -`~/Anki/addons21/ankisyncd`. +Create a new directory in [the add-ons folder][addons21] (name it something +like ankisyncd), create a file named `__init__.py` containing the code below +and put it in the `ankisyncd` directory. import anki.sync, anki.hooks, aqt @@ -77,6 +77,8 @@ and put it in `~/Anki/addons`. anki.sync.SYNC_BASE = addr anki.sync.SYNC_MEDIA_BASE = addr + "msync/" +[addons21]: https://apps.ankiweb.net/docs/addons.html#_add_on_folders + Running `ankisyncd` without `pyaudio` -------------------------------------