build.sh

1#!/bin/bash
2
3function check_pyinstaller {
4    if ! command -v pyinstaller &> /dev/null
5    then
6        echo "Pyinstaller could not be found. Please install it using 'pip install pyinstaller' or 'pipx install pyinstaller'"
7        exit
8    fi
9}
10
11check_pyinstaller
12
13pyinstaller --onefile src/main.py
14