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

readonly joplin_dir="/usr/lib/node_modules/joplin/app/"

if [[ ! -d $joplin_dir ]]; then
    echo "Cannot find ${joplin_dir}"
    exit 1
fi

cd $joplin_dir

node main.js ${@}