console-pro-free/console-pro/main.js
la vie est belle 620637fd28 first commit
2023-11-01 10:27:59 +08:00

23 lines
384 B
JavaScript

'use strict';
module.exports = {
load () {
// execute when package loaded
},
unload () {
// execute when package unloaded
},
// register your ipc messages here
messages: {
'open' () {
// open entry panel registered in package.json
Editor.Panel.open('console-pro');
},
'clear-log' () {
Editor.clearLog('.+', true)
}
},
};