chore: make module name small due to the macos limit of 104 characters

This commit is contained in:
Khushboo Mehta 2026-04-20 13:52:49 +02:00
parent b94ce296a0
commit cb03e556fd
5 changed files with 11 additions and 6 deletions

View File

@ -152,7 +152,7 @@ add_library(logos_cpp_sdk INTERFACE)
target_include_directories(logos_cpp_sdk INTERFACE "${SDK_INC}")
# ---- Plugin ----
set(PLUGIN_TARGET logos_execution_zone_wallet_module)
set(PLUGIN_TARGET lez_wallet_module_plugin)
qt_add_plugin(${PLUGIN_TARGET} CLASS_NAME LogosExecutionZoneWalletModule)
@ -182,6 +182,11 @@ target_compile_definitions(${PLUGIN_TARGET} PRIVATE
add_dependencies(${PLUGIN_TARGET} logos_execution_zone_libs)
set_target_properties(${PLUGIN_TARGET} PROPERTIES
PREFIX ""
OUTPUT_NAME "lez_wallet_module_plugin"
)
if(APPLE)
set_target_properties(${PLUGIN_TARGET} PROPERTIES
BUILD_RPATH "@loader_path"

View File

@ -101,7 +101,7 @@
program =
"${pkgs.writeShellScriptBin "inspect-module" ''
exec ${logosModuleViewerPackage}/bin/logos-module-viewer \
--module ${logosExecutionZoneWalletModuleLib}/lib/liblogos_execution_zone_wallet_module.${extension}
--module ${logosExecutionZoneWalletModuleLib}/lib/lez_wallet_module_plugin.${extension}
''}/bin/inspect-module";
};
in

View File

@ -7,7 +7,7 @@ configure:
${LOGOS_EXECUTION_ZONE_WALLET_INCLUDE:+-DLOGOS_EXECUTION_ZONE_WALLET_INCLUDE="$LOGOS_EXECUTION_ZONE_WALLET_INCLUDE"}
build: configure
cmake --build build --parallel --target logos_execution_zone_wallet_module
cmake --build build --parallel --target lez_wallet_module_plugin
clean:
rm -rf build result

View File

@ -1,11 +1,11 @@
{
"name": "liblogos_execution_zone_wallet_module",
"name": "lez_wallet_module",
"version": "1.0.0",
"description": "Logos Execution Zone Wallet Module for Logos Core",
"author": "Logos Blockchain Team",
"type": "core",
"category": "blockchain",
"main": "liblogos_execution_zone_wallet_module",
"main": "lez_wallet_module_plugin",
"dependencies": [],
"capabilities": [],
"include": ["libnomos.dylib"]

View File

@ -189,7 +189,7 @@ LogosExecutionZoneWalletModule::~LogosExecutionZoneWalletModule() {
// === Plugin Interface ===
QString LogosExecutionZoneWalletModule::name() const {
return "liblogos_execution_zone_wallet_module";
return "lez_wallet_module";
}
QString LogosExecutionZoneWalletModule::version() const {