Use single binary for PyInstaller mimic3

This commit is contained in:
Michael Hansen 2022-04-07 14:36:08 -04:00
commit 732daf3738
3 changed files with 9 additions and 33 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env bash
# Copyright 2022 Mycroft AI Inc.
#
# This program is free software: you can redistribute it and/or modify
@ -14,8 +14,8 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
"""Stub for PyInstaller"""
from mimic3_http.__main__ import main
# Directory of *this* script
this_dir="$( cd "$( dirname "$0" )" && pwd )"
main()
"${this_dir}/mimic3" --server "$@"