Fix missing export

This commit is contained in:
LeenkxTeam 2025-01-24 11:41:47 +00:00
parent b0991a8928
commit 7121737297

View File

@ -278,6 +278,9 @@ project.addSources('Sources');
assets.add_khafile_def('kha_no_ogg')
else:
assets.add_khafile_def('lnx_audio')
lnxAudio_path = sdk_path + '/lib/aura'
lnxAudio_path = lnxAudio_path.replace('\\', '/').replace('//', '/')
khafile.write("await project.addProject('" + lnxAudio_path + "');\n".format("aura"))
if wrd.lnx_texture_quality < 1.0:
assets.add_khafile_def('lnx_texcompress')
@ -309,6 +312,9 @@ project.addSources('Sources');
if not os.path.exists('Libraries/network'):
khafile.write(add_leenkx_library(sdk_path, 'lib/network', rel_path=do_relpath_sdk))
assets.add_khafile_def('lnx_network')
lnxjs_path = sdk_path + '/lib/leenkx_tools/lnxjs/Leenkx.js'
lnxjs_path = lnxjs_path.replace('\\', '/').replace('//', '/')
khafile.write(add_assets(lnxjs_path, rel_path=do_relpath_sdk))
if not wrd.lnx_minimize:
assets.add_khafile_def('lnx_json')