Files
electron-egg/app/service/example.js
gaoshuaixing d0f513db7d ipc call
2020-12-24 14:38:10 +08:00

15 lines
262 B
JavaScript

'use strict';
const BaseService = require('./base');
class ExampleService extends BaseService {
async openLocalDir() {
const self = this;
await self.ipcCall('example.openDir', 'a', 'b', 'c');
return true;
}
}
module.exports = ExampleService;