2020-02-16 20:19:10 +01:00
|
|
|
#!/usr/bin/env bash
|
2020-03-05 19:29:49 -08: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
|