Skip to content

Commit 7c155f1

Browse files
committed
docs: chore
1 parent 7f5a4ed commit 7c155f1

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ import cssText from './style.css?inline';
1515

1616
import 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> {

0 commit comments

Comments
 (0)