forked from LeenkxTeam/LNXSDK
Update leenkx/blender/lnx/utils.py
This commit is contained in:
@ -368,7 +368,7 @@ def get_node_path():
|
|||||||
return get_sdk_path() + '/nodejs/node.exe'
|
return get_sdk_path() + '/nodejs/node.exe'
|
||||||
elif get_os() == 'mac':
|
elif get_os() == 'mac':
|
||||||
import platform
|
import platform
|
||||||
node_bin = 'node-macos_arm64' if platform.machine() == 'arm64' else 'node-osx'
|
node_bin = 'node-macos_arm64' if platform.machine() == 'arm64' else 'node-macos_x64'
|
||||||
return get_sdk_path() + f'/nodejs/{node_bin}'
|
return get_sdk_path() + f'/nodejs/{node_bin}'
|
||||||
else:
|
else:
|
||||||
return get_sdk_path() + '/nodejs/node-linux64'
|
return get_sdk_path() + '/nodejs/node-linux64'
|
||||||
@ -1072,8 +1072,8 @@ def def_strings_to_array(strdefs):
|
|||||||
return defs
|
return defs
|
||||||
|
|
||||||
def get_kha_target(target_name): # TODO: remove
|
def get_kha_target(target_name): # TODO: remove
|
||||||
if target_name == 'macos-hl':
|
if target_name == 'osx-hl' or target_name == 'macos-hl':
|
||||||
return 'osx-hl'
|
return 'macos-hl'
|
||||||
elif target_name.startswith('krom'): # krom-windows
|
elif target_name.startswith('krom'): # krom-windows
|
||||||
return 'krom'
|
return 'krom'
|
||||||
elif target_name == 'custom':
|
elif target_name == 'custom':
|
||||||
|
|||||||
Reference in New Issue
Block a user