From 7121737297647e33c493e3181021eb9ab74f6136 Mon Sep 17 00:00:00 2001 From: LeenkxTeam Date: Fri, 24 Jan 2025 11:41:47 +0000 Subject: [PATCH] Fix missing export --- leenkx/blender/lnx/write_data.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/leenkx/blender/lnx/write_data.py b/leenkx/blender/lnx/write_data.py index cc0f67b..dcc0c83 100644 --- a/leenkx/blender/lnx/write_data.py +++ b/leenkx/blender/lnx/write_data.py @@ -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')