mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-17 16:20:13 +08:00
parent
5b57ff5951
commit
384f95e9a5
@ -832,6 +832,15 @@ class Animation extends AnimationItem {
|
||||
showItemInFolder(animation.path);
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'generic.edit_externally',
|
||||
id: 'edit_externally',
|
||||
icon: 'edit_document',
|
||||
condition(animation) {return isApp && Format.animation_files && animation.path && fs.existsSync(animation.path)},
|
||||
click(animation) {
|
||||
ipcRenderer.send('open-in-default-app', animation.path);
|
||||
}
|
||||
},
|
||||
'rename',
|
||||
{
|
||||
id: 'reload',
|
||||
|
@ -1255,6 +1255,15 @@ class AnimationController extends AnimationItem {
|
||||
showItemInFolder(animation.path);
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'generic.edit_externally',
|
||||
id: 'edit_externally',
|
||||
icon: 'edit_document',
|
||||
condition(animation) {return isApp && Format.animation_files && animation.path && fs.existsSync(animation.path)},
|
||||
click(animation) {
|
||||
ipcRenderer.send('open-in-default-app', animation.path);
|
||||
}
|
||||
},
|
||||
'rename',
|
||||
{
|
||||
id: 'reload',
|
||||
|
@ -69,6 +69,7 @@
|
||||
"generic.select_all": "Select All",
|
||||
"generic.select_none": "Select None",
|
||||
"generic.delete_all": "Delete All",
|
||||
"generic.edit_externally": "Edit Externally",
|
||||
"generic.on": "On",
|
||||
"generic.off": "Off",
|
||||
"generic.left": "Left",
|
||||
|
Loading…
Reference in New Issue
Block a user