File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ import cssText from './style.css?inline';
1515
1616import type { PluginInterface , PluginInterfaceCtx } from '../types/any-menu' ;
1717
18- export default class HelloWorldPlugin implements PluginInterface {
18+ export default class ExamplePluginSimple implements PluginInterface {
1919 metadata = {
20- id : 'hello-world ' ,
21- name : 'Hello World ' ,
20+ id : 'example-plugin-simple ' ,
21+ name : 'Example Plugin Simple ' ,
2222 version : '1.0.0' ,
2323 min_app_version : '1.1.0' ,
2424 author : 'your-name' ,
@@ -28,11 +28,11 @@ export default class HelloWorldPlugin implements PluginInterface {
2828 } ;
2929
3030 onLoad ( ) : void {
31- console . log ( '[HelloWorld ] Plugin loaded' ) ;
31+ console . log ( '[ExamplePluginSimple ] Plugin loaded' ) ;
3232 }
3333
3434 onUnload ( ) : void {
35- console . log ( '[HelloWorld ] Plugin unloaded' ) ;
35+ console . log ( '[ExamplePluginSimple ] Plugin unloaded' ) ;
3636 }
3737
3838 async run ( ctx : PluginInterfaceCtx ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments