summarylogtreecommitdiffstats
path: root/tachidesk-server-electron-launcher.sh
blob: 8d5d52d32e3281abe902c4942f99622ce3b91b15 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
if [ ! -f /usr/bin/electron ]; then
	echo "Electron executable was not found! In order to run this launcher, you need Electron installed."
	echo "You can run 'pacman -S electron' to install the package."
	exit 1
fi

exec /usr/bin/java -Dsuwayomi.tachidesk.config.server.webUIInterface=electron -Dsuwayomi.tachidesk.config.server.electronPath=/usr/bin/electron -jar /usr/share/java/tachidesk-server/tachidesk-server.jar