feat: implement IPC handlers for service management and binary downloads
This commit is contained in:
@@ -141,7 +141,8 @@ export function registerIpcHandlers(): void {
|
||||
}
|
||||
|
||||
const mysqlPort = mysqlId ? (settings.mysqlPorts?.[mysqlId] || '3306') : settings.mysqlPort
|
||||
const logFile = path.join(app.getPath('userData'), 'logs', `${serviceName}_error.log`)
|
||||
const sanitizedServiceName = serviceName.replace(/:/g, '_')
|
||||
const logFile = path.join(app.getPath('userData'), 'logs', `${sanitizedServiceName}_error.log`)
|
||||
|
||||
const configPath = await configService.generateConfig('my.ini.template', `my_${mysqlId || 'default'}.ini`, {
|
||||
PORT: mysqlPort,
|
||||
|
||||
Reference in New Issue
Block a user