Update addon folder
It depends on the platform anyway, and the directory in the README
was outdated anyway (57c8e43327).
This commit is contained in:
parent
85aac784db
commit
bb1dba1b99
@ -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`
|
||||
-------------------------------------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user