feat: 提交资源
This commit is contained in:
30
extensions/max-studio/source/main.ts
Executable file
30
extensions/max-studio/source/main.ts
Executable file
@@ -0,0 +1,30 @@
|
||||
/* eslint-disable no-console */
|
||||
/**
|
||||
* @en Registration method for the main process of Extension
|
||||
* @zh 为扩展的主进程的注册方法
|
||||
*/
|
||||
export const methods: { [key: string]: (...any: any) => any } = {
|
||||
/**
|
||||
* @en A method that can be triggered by message
|
||||
* @zh 通过 message 触发的方法
|
||||
*/
|
||||
showLog() {
|
||||
console.log('Max Framework - 集成热更新功能');
|
||||
},
|
||||
};
|
||||
|
||||
/**
|
||||
* @en Method Triggered on Extension Startup
|
||||
* @zh 扩展启动时触发的方法
|
||||
*/
|
||||
export function load() {
|
||||
console.log('Max Framework 已加载,包含热更新功能');
|
||||
}
|
||||
|
||||
/**
|
||||
* @en Method triggered when uninstalling the extension
|
||||
* @zh 卸载扩展时触发的方法
|
||||
*/
|
||||
export function unload() {
|
||||
console.log('Max Framework 已卸载');
|
||||
}
|
||||
Reference in New Issue
Block a user