example.js 255 B

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