#!/bin/bash # Script to help build and run this fucking thing because apparantly npm sucks for # projects that use cli arguments [[ -z "$1" ]] && echo Options: run \| build && exit 0 run() { ./node_modules/electron/dist/electron main.js $@ } build() { sh scripts/build-sass.sh build } "$@"