summarylogtreecommitdiffstats
path: root/joplin-desktop.sh
blob: 085af40094f8c2d6a77ddb49eb928952ac5d0e4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

readonly joplin_dir="/usr/share/joplin-desktop/"

if [[ ! -d $joplin_dir ]]; then
  echo "Cannot find /usr/share/joplin-desktop/"
  exit 1
fi

cd $joplin_dir

./joplin "$@"