Fix missing pyinstaller in path

This commit is contained in:
Matthew Stratford 2022-03-19 16:04:13 +00:00
parent 01dfb3f3d6
commit d6304ccff8
2 changed files with 7 additions and 1 deletions

View file

@ -1,10 +1,15 @@
import json
from helpers.os_environment import isLinux
file = open('build-exe-config.json', 'r')
config = json.loads(file.read())
file.close()
cmd_str = "pyinstaller "
if isLinux():
cmd_str = "python3 -m PyInstaller "
else:
cmd_str = "pyinstaller "
json_dests = ["icon_file", "clean_build"]
pyi_dests = ["icon", "clean"]

View file

@ -1,4 +1,5 @@
#!/bin/bash
set -x
cd "$(dirname "$0")"
# Get the git commit / branch and write it into build.py.