fonol / anki-search-inside-add-card

An add-on providing full-text-search and PDF reading functionality to Anki's Add card dialog
https://ankiweb.net/shared/info/1781298089
GNU Affero General Public License v3.0
177 stars 24 forks source link

"addonNoteDBFolderPath" parameter issue #293

Open luzhe610 opened 2 years ago

luzhe610 commented 2 years ago

I'm using Onedrive to sync addons21 folder among different computers. On one computer, addonNoteDBFolderPath contains 'C:/Users/foo/AppData/Local/.anki-siac-addon-data/' with user name foo, so the addon fails loading on another computer with user name bar because there is no such path as 'C:/Users/foo/AppData/Local/.anki-siac-addon-data/', which is supposed to be 'C:/Users/bar/AppData/Local/.anki-siac-addon-data/'. Could you figure out a way to solve this problem? Thanks for your efforts.

fonol commented 2 years ago

Hi, you could find a path that is the same on both machines, set addonNoteDBFolderPath in the add-on config to that value, and copy your existing siac-notes.db file from .anki-siac-addon-data to that new location.