2020-02-16 19:19:10 +00:00
|
|
|
#!/usr/bin/env bash
|
2020-03-06 03:29:49 +00:00
|
|
|
|
|
|
|
plugin_name=AnkiConnectDev
|
|
|
|
plugin_path_linux=~/.local/share/Anki2/addons21
|
|
|
|
plugin_path_mac=~/Library/Application\ Support/Anki2/addons21
|
|
|
|
|
|
|
|
if [ -d "$plugin_path_linux" ]; then
|
|
|
|
ln -s -f $(pwd)/plugin $plugin_path_linux/$plugin_name
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ -d "$plugin_path_mac" ]; then
|
|
|
|
ln -s -f $(pwd)/plugin $plugin_path_mac/$plugin_name
|
|
|
|
fi
|