Files
electron-egg/app/service/setting.js
gaoshuaixing c8c0180b89 auto launch
2020-12-30 16:30:13 +08:00

26 lines
534 B
JavaScript

'use strict';
const BaseService = require('./base');
class SettingService extends BaseService {
async autoLaunchEnable() {
const callResult = await this.ipcCall('base.autoLaunchEnable');
return callResult.data;
}
async autoLaunchDisable() {
const callResult = await this.ipcCall('base.autoLaunchDisable');
return callResult.data;
}
async autoLaunchIsEnabled() {
const callResult = await this.ipcCall('base.autoLaunchIsEnabled');
return callResult.data;
}
}
module.exports = SettingService;