|
@@ -1,15 +1,12 @@
|
|
|
import request from '@/utils/request'
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
const eggApiroute = {
|
|
const eggApiroute = {
|
|
|
- openDir: '/api/example/openLocalDir',
|
|
|
|
|
uploadFile: '/api/example/uploadFile',
|
|
uploadFile: '/api/example/uploadFile',
|
|
|
executeJS: '/api/example/executeJS',
|
|
executeJS: '/api/example/executeJS',
|
|
|
- setShortcut: '/api/example/setShortcut',
|
|
|
|
|
autoLaunchEnable: '/api/example/autoLaunchEnable',
|
|
autoLaunchEnable: '/api/example/autoLaunchEnable',
|
|
|
autoLaunchDisable: '/api/example/autoLaunchDisable',
|
|
autoLaunchDisable: '/api/example/autoLaunchDisable',
|
|
|
autoLaunchIsEnabled: '/api/example/autoLaunchIsEnabled',
|
|
autoLaunchIsEnabled: '/api/example/autoLaunchIsEnabled',
|
|
|
openSoftware: '/api/example/openSoftware',
|
|
openSoftware: '/api/example/openSoftware',
|
|
|
- selectFileDir: '/api/example/selectFileDir',
|
|
|
|
|
messageShow: '/api/example/messageShow',
|
|
messageShow: '/api/example/messageShow',
|
|
|
messageShowConfirm: '/api/example/messageShowConfirm',
|
|
messageShowConfirm: '/api/example/messageShowConfirm',
|
|
|
dbOperation: '/api/example/dbOperation',
|
|
dbOperation: '/api/example/dbOperation',
|
|
@@ -19,6 +16,8 @@ const eggApiroute = {
|
|
|
const ipcApiRoute = {
|
|
const ipcApiRoute = {
|
|
|
messageShow: 'controller.example.messageShow',
|
|
messageShow: 'controller.example.messageShow',
|
|
|
messageShowConfirm: 'controller.example.messageShowConfirm',
|
|
messageShowConfirm: 'controller.example.messageShowConfirm',
|
|
|
|
|
+ selectFolder: 'controller.example.selectFolder',
|
|
|
|
|
+ openDirectory: 'controller.example.openDirectory',
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|