Skip to content

插件name的值过长时会导致插件显示“该插件没有任何功能”。 #13

Description

@CheongSzesuen

如题。

Image

这是name为9个字符的效果。

{
    "name": "Vela快应用验证",
    "icon": "icon.png",
    "version": "1.0.1",
    "description": "通用的Vela快应用验证工具,用于更安全的加密验证。",
    "author": "WaiJade",
    "website": "https://github.com/CheongSzesuen/VelaVerify-AstroBox-Plugin",
    "entry": "main.js",
    "api_level": 1,
    "permissions": [
        "lifecycle",
        "ui",
        "native",
        "thirdpartyapp",
        "interconnect"
    ],
    "additional_files": []
}

9字符插件代码复现,打包好的abp在根目录.zip

Image

这是name为11个字符的效果。

{
    "name": "Vela快应用验证工具",
    "icon": "icon.png",
    "version": "1.0.1",
    "description": "通用的Vela快应用验证工具,用于更安全的加密验证。",
    "author": "WaiJade",
    "website": "https://github.com/CheongSzesuen/VelaVerify-AstroBox-Plugin",
    "entry": "main.js",
    "api_level": 1,
    "permissions": [
        "lifecycle",
        "ui",
        "native",
        "thirdpartyapp",
        "interconnect"
    ],
    "additional_files": []
}

11个字符的插件代码复现,打包好的abp在根目录.zip

其他我完全没有动。从9个改为11个就会出错,重新改回就又恢复了。

不清楚字符数界限。只是拿这个作演示。

下面是设备信息

Hostname: WaiJade
Arch: x86_64
Family: unix
Platform: linux
Version: Rolling Release
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/60.5 Safari/605.1.15

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions