mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-07 01:01:09 +08:00
编辑器扩展框架主菜单中添加动画状态机编辑器工具链接
This commit is contained in:
2
dist/assets-menu.js
vendored
2
dist/assets-menu.js
vendored
@@ -53,7 +53,7 @@ function onAssetMenu(assetInfo) {
|
||||
]
|
||||
},
|
||||
{
|
||||
label: `i18n:oops-framework.tools`,
|
||||
label: `i18n:oops-framework.tools_asset_menu`,
|
||||
submenu: [
|
||||
{
|
||||
label: `i18n:oops-framework.tools_compress`,
|
||||
|
||||
3
dist/main.js
vendored
3
dist/main.js
vendored
@@ -52,5 +52,8 @@ exports.methods = {
|
||||
/** 点亮 Github 星星 */
|
||||
github() {
|
||||
electron_1.shell.openExternal('https://github.com/dgflash/oops-framework');
|
||||
},
|
||||
animator_editor() {
|
||||
electron_1.shell.openExternal('https://oops-1255342636.cos.ap-shanghai.myqcloud.com/tools/animator-editor/index.html');
|
||||
}
|
||||
};
|
||||
|
||||
@@ -18,7 +18,9 @@ module.exports = {
|
||||
createBll: "Create ECS business layer script",
|
||||
createView: "Create ECS view layer script",
|
||||
createViewMvvm: "Create ECS view layer script - MVVM",
|
||||
tools: "Tools",
|
||||
tools: "Framework Tools",
|
||||
tools_asset_menu: "Tools",
|
||||
tools_compress: "Image Compression",
|
||||
tools_animator_editor: "Animation State Machine Editor",
|
||||
panel_create_file: "Create Framework Template",
|
||||
};
|
||||
@@ -18,7 +18,9 @@ module.exports = {
|
||||
createBll: "创建 ECS 业务层脚本",
|
||||
createView: "创建 ECS 视图层脚本",
|
||||
createViewMvvm: "创建 ECS 视图层脚本 - MVVM",
|
||||
tools: "工具",
|
||||
tools: "框架工具",
|
||||
tools_asset_menu: "工具",
|
||||
tools_compress: "图片压缩",
|
||||
tools_animator_editor: "动画状态机编辑器",
|
||||
panel_create_file: "创建框架模板"
|
||||
};
|
||||
12
package.json
12
package.json
@@ -50,6 +50,11 @@
|
||||
}
|
||||
},
|
||||
"menu": [
|
||||
{
|
||||
"path": "i18n:oops-framework.name/i18n:oops-framework.tools",
|
||||
"label": "i18n:oops-framework.tools_animator_editor",
|
||||
"message": "animator_editor"
|
||||
},
|
||||
{
|
||||
"path": "i18n:oops-framework.name",
|
||||
"label": "i18n:oops-framework.document_oops",
|
||||
@@ -135,6 +140,11 @@
|
||||
"methods": [
|
||||
"github"
|
||||
]
|
||||
},
|
||||
"animator_editor": {
|
||||
"methods": [
|
||||
"animator_editor"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -150,4 +160,4 @@
|
||||
"typedoc": "^0.23.24",
|
||||
"typescript": "^4.8.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -52,5 +52,8 @@ export const methods: { [key: string]: (...any: any) => any } = {
|
||||
/** 点亮 Github 星星 */
|
||||
github() {
|
||||
shell.openExternal('https://github.com/dgflash/oops-framework');
|
||||
},
|
||||
animator_editor() {
|
||||
shell.openExternal('https://oops-1255342636.cos.ap-shanghai.myqcloud.com/tools/animator-editor/index.html');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user