#!/bin/bash -e cd "$(dirname "$0")/dist" mkdir -p "data/logs" "./stb-gui" $* 2>&1 | tee -a "data/logs/$(date +"%Y-%m-%d_%H:%M:%S").txt"