diff --git a/src/main b/src/main index 50eef47..d995ba5 100755 --- a/src/main +++ b/src/main @@ -193,6 +193,7 @@ if [[ ! -f $HOME/.config/goldendict/config ]] || ! grep -q "path.*/usr/share/gol cp "$BASEDIR/lib/goldendict/config" "$HOME/.config/goldendict/" nohup goldendict & fi +mkdir -p $HOME/.config/autostart if [[ ! -f $HOME/.config/autostart/org.goldendict.GoldenDict.desktop ]]; then echo -n "autostart GoldenDict ..." ln -sf /usr/share/applications/org.goldendict.GoldenDict.desktop $HOME/.config/autostart/