diff --git a/template.lua b/template.lua index 5e8dde8b..ef0eba3c 100644 --- a/template.lua +++ b/template.lua @@ -106,6 +106,10 @@ function PLUGIN:EnvKeys(ctx) --- this variable is same as ctx.sdkInfo['plugin-name'].path local mainPath = ctx.path local runtimeVersion = ctx.runtimeVersion + local mainSdkInfo = ctx.main + local mpath = mainSdkInfo.path + local mversion = mainSdkInfo.version + local mname = mainSdkInfo.name local sdkInfo = ctx.sdkInfo['sdk-name'] local path = sdkInfo.path local version = sdkInfo.version