1. 雪花ID使用配置项

2. 使用自定义日志格式
3. 修复数据模型和新建流程的bug
This commit is contained in:
2023-03-14 20:36:51 +08:00
parent 1d73df3235
commit a4ed390e82
12 changed files with 445 additions and 397 deletions

View File

@@ -0,0 +1,25 @@
@echo off
%1 %2
ver|find "5.">nul&&goto :Admin
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :Admin","","runas",1)(window.close)&goto :eof
:Admin
cd /d %~dp0
echo --------------------------------
echo 1 --- install
echo 2 --- uninstall
echo --------------------------------
setlocal
set svcName=ToTong.TNB.Master
set binPath=Tnb.API.Entry.exe
set /p mode=input number to choise:
if %mode%==1 (
sc create %svcName% binpath=%~dp0%binPath% displayname=%svcName% start= auto
sc description %svcName% %svcName%
net start %svcName%
) else if %mode%==2 (
net stop %svcName%
sc delete %svcName%
)
endlocal
pause