Browse Source

autostart mkdir -p

master
pvincent 1 year ago
parent
commit
e6b2b4df01
  1. 1
      src/main

1
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/

Loading…
Cancel
Save