Fix missing pyinstaller in path
This commit is contained in:
parent
01dfb3f3d6
commit
d6304ccff8
2 changed files with 7 additions and 1 deletions
|
@ -1,10 +1,15 @@
|
||||||
import json
|
import json
|
||||||
|
from helpers.os_environment import isLinux
|
||||||
|
|
||||||
file = open('build-exe-config.json', 'r')
|
file = open('build-exe-config.json', 'r')
|
||||||
config = json.loads(file.read())
|
config = json.loads(file.read())
|
||||||
file.close()
|
file.close()
|
||||||
|
|
||||||
cmd_str = "pyinstaller "
|
if isLinux():
|
||||||
|
cmd_str = "python3 -m PyInstaller "
|
||||||
|
else:
|
||||||
|
cmd_str = "pyinstaller "
|
||||||
|
|
||||||
json_dests = ["icon_file", "clean_build"]
|
json_dests = ["icon_file", "clean_build"]
|
||||||
pyi_dests = ["icon", "clean"]
|
pyi_dests = ["icon", "clean"]
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
set -x
|
||||||
cd "$(dirname "$0")"
|
cd "$(dirname "$0")"
|
||||||
|
|
||||||
# Get the git commit / branch and write it into build.py.
|
# Get the git commit / branch and write it into build.py.
|
||||||
|
|
Loading…
Reference in a new issue