Use single binary for PyInstaller mimic3
This commit is contained in:
parent
5dd49fbbb0
commit
732daf3738
3 changed files with 9 additions and 33 deletions
8
pyinstaller/mimic3_server.py → pyinstaller/mimic3-server
Normal file → Executable file
8
pyinstaller/mimic3_server.py → pyinstaller/mimic3-server
Normal file → Executable 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 "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue