fixing installers / restart services
This commit is contained in:
parent
b64bb16111
commit
84e6be647d
@ -5,14 +5,14 @@ if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
|
||||
|
||||
%@Try%
|
||||
@REM Uninstall IO-Server
|
||||
node .\dist\lib\cli\ioServerService.js -m uninstall
|
||||
node .\dist\lib\cli\ioServerService.js -m install
|
||||
%@EndTry%
|
||||
:@Catch
|
||||
echo uninstall IO-Server
|
||||
:@EndCatch
|
||||
|
||||
@REM Uninstall all Services
|
||||
for /f "delims=" %%a in ('dir /s /o /b *03-uninstall.bat') do (
|
||||
for /f "delims=" %%a in ('dir /s /o /b *01-install.bat') do (
|
||||
echo %%a
|
||||
call %%a
|
||||
)
|
18
00-start-all-services.bat
Normal file
18
00-start-all-services.bat
Normal file
@ -0,0 +1,18 @@
|
||||
set DIR=%~dp0
|
||||
cd "%DIR%"
|
||||
|
||||
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
|
||||
|
||||
%@Try%
|
||||
@REM Uninstall IO-Server
|
||||
node .\dist\lib\cli\ioServerService.js -m restart
|
||||
%@EndTry%
|
||||
:@Catch
|
||||
echo restarted IO-Server
|
||||
:@EndCatch
|
||||
|
||||
@REM Uninstall all Services
|
||||
for /f "delims=" %%a in ('dir /s /o /b *02-restart.bat') do (
|
||||
echo %%a
|
||||
call %%a
|
||||
)
|
@ -492,8 +492,8 @@ export async function interact(
|
||||
const data = await getJsonInput();
|
||||
|
||||
try {
|
||||
await dispatcher.emit(dataPath, data);
|
||||
// await dispatcher.emit(dataPath, data);
|
||||
// Dont gets an update.
|
||||
await dispatcher.emit(dataPath, data, "cli-interaction-tool");
|
||||
} catch (e) {
|
||||
logger.warn("failed to update the data");
|
||||
logger.error(e);
|
||||
|
Loading…
Reference in New Issue
Block a user