mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
26 lines
534 B
JavaScript
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; |