main.js 316 B

12345678910111213141516171819
  1. 'use strict';
  2. module.exports = {
  3. load () {
  4. // execute when package loaded
  5. },
  6. unload () {
  7. // execute when package unloaded
  8. },
  9. // register your ipc messages here
  10. messages: {
  11. 'open' () {
  12. // open entry panel registered in package.json
  13. Editor.Panel.open('user-guide');
  14. }
  15. },
  16. };