macos export path fix
This commit is contained in:
parent
743e69049a
commit
6a6c0704e7
|
@ -568,13 +568,13 @@ def build_success():
|
|||
shutil.move(f, files_path + '/Krom.app/Contents/MacOS')
|
||||
krom_exe = arm.utils.safestr(wrd.arm_project_name) + '.app'
|
||||
os.rename(files_path + '/Krom.app', files_path + '/' + krom_exe)
|
||||
krom_exe = './Krom'
|
||||
# Serialize krom.js into krom.bin
|
||||
if wrd.arm_minify_js:
|
||||
cwd = os.getcwd()
|
||||
fp = files_path
|
||||
if state.target == 'krom-macos':
|
||||
fp += '/' + krom_exe + '/Contents/MacOS'
|
||||
krom_exe = './Krom'
|
||||
os.chdir(fp)
|
||||
args = [krom_exe, '.', '.', '--writebin']
|
||||
proc = subprocess.Popen(args)
|
||||
|
|
Loading…
Reference in a new issue