Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“哥斯拉插件的DisplayName没有正确显示”的问题 #112

Open
R1ckyZ opened this issue Jan 29, 2024 · 0 comments
Open

“哥斯拉插件的DisplayName没有正确显示”的问题 #112

R1ckyZ opened this issue Jan 29, 2024 · 0 comments

Comments

@R1ckyZ
Copy link

R1ckyZ commented Jan 29, 2024

哥斯拉的注释PluginAnnotation专门设置了DisplayName这个属性但是在加载的时候插件名称还是用的Name属性,在core.ui.ShellManage下loadView函数中需要将pluginAnnotation.Name()改为pluginAnnotation.DisplayName(),在添加插件的界面中,需要修改core.ui.component.ShellCopyTab中的addButtonClick函数,获取插件后再调用PluginAnnotation获取DisplayName,这样显示在目录框里面的就是DisplayName,望下次更新时可以统一修正一下。
第一处
image
第二处
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant