example.js 247 B

123456789101112131415
  1. 'use strict';
  2. const BaseService = require('./base');
  3. class ExampleService extends BaseService {
  4. async openLocalDir() {
  5. const self = this;
  6. await self.ipcCall('example.openDir');
  7. return true;
  8. }
  9. }
  10. module.exports = ExampleService;