fix(*): 版本更新 2024-11-20
- 新增配置项
This commit is contained in:
1
.idea/xin-launcher.iml
generated
1
.idea/xin-launcher.iml
generated
@ -6,5 +6,6 @@
|
|||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="library" name="xin-launcher" level="project" />
|
<orderEntry type="library" name="xin-launcher" level="project" />
|
||||||
|
<orderEntry type="library" name="xin-launcher" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
10
ReadMe.md
10
ReadMe.md
@ -21,3 +21,13 @@
|
|||||||
- 优化记录日志信息
|
- 优化记录日志信息
|
||||||
- 优化返回授权码授权异常信息提示
|
- 优化返回授权码授权异常信息提示
|
||||||
- 建议使用管理员身份启动,避免由于权限原因导致信息写入注册表失败
|
- 建议使用管理员身份启动,避免由于权限原因导致信息写入注册表失败
|
||||||
|
|
||||||
|
2024-09-03
|
||||||
|
|
||||||
|
运行命令更新
|
||||||
|
|
||||||
|
2024-11-20
|
||||||
|
|
||||||
|
XinLauncher.ini文件新增配置项
|
||||||
|
- is_client 该配置为 1 时 标识不加载对应鉴权数据模块 为空或其他值时进行校验
|
||||||
|
- product_group_code 产品分组标识 为空时不进行校验 存在值时将进行产品分组数据信息校验 不一致时鉴权不通过
|
||||||
|
|||||||
BIN
xin-launcher.zip
BIN
xin-launcher.zip
Binary file not shown.
@ -10,3 +10,7 @@ login.pass=aeb6a04dfe285d98298f5666f02d2503
|
|||||||
is_dev=1
|
is_dev=1
|
||||||
maxconnections=10000
|
maxconnections=10000
|
||||||
product_version=2.0
|
product_version=2.0
|
||||||
|
# 产品分组标识 为空时不进行校验 存在值时将进行产品分组数据信息校验 不一致时鉴权不通过
|
||||||
|
product_group_code=
|
||||||
|
# 该配置为 1 时 标识不加载对应鉴权数据模块 为空或其他值时进行校验
|
||||||
|
is_client=
|
||||||
|
|||||||
Binary file not shown.
6
xin-launcher/register.bat
Normal file
6
xin-launcher/register.bat
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
@echo off
|
||||||
|
setlocal EnableDelayedExpansion
|
||||||
|
@rem set "LinkName=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\XinLauncher.lnk"
|
||||||
|
mshta VBScript:Execute("Set Shell=CreateObject(""WScript.Shell""):Set Link=Shell.CreateShortcut(Shell.SpecialFolders(""Startup"") & ""\XinLauncher.lnk""):Link.TargetPath=""%~dp0\run.bat"":Link.WorkingDirectory=""%~dp0\"":Link.Save:close")
|
||||||
|
pause
|
||||||
|
exit
|
||||||
@ -1,6 +1,27 @@
|
|||||||
@echo off
|
@echo off
|
||||||
title Xin-launcher启动器(请勿关闭)
|
title Xin-launcher启动器(请勿关闭)
|
||||||
set CURRENT_DIR="%cd%"
|
SETLOCAL
|
||||||
set JAVA_HOME="%CURRENT_DIR%\..\..\..\DevelopTools\jdk1.8.0_51"
|
set "CURRENT_DIR=%cd%"
|
||||||
|
|
||||||
|
set "CATALINA_HOME=%CURRENT_DIR%"
|
||||||
|
|
||||||
|
set MAINPATH=%cd%\lib\xin-launcher.jar
|
||||||
|
|
||||||
|
set JAVA_HOME="C:\project\test_environment\jdk1.8.0_191"
|
||||||
|
|
||||||
|
echo CURRENT_DIR=%CURRENT_DIR%
|
||||||
|
echo JAVA_HOME=%JAVA_HOME%
|
||||||
|
echo MAINPATH=%MAINPATH%
|
||||||
|
|
||||||
|
@rem 设置Java虚拟机参数
|
||||||
|
set JAVA_VM=-hotspot
|
||||||
|
@rem 设置Java虚拟机所使用的内存
|
||||||
|
set MEM_ARGS=-Xms128m -Xmx128m -XX:MetaspaceSize=64m -XX:MaxMetaspaceSize=128m -XX:MaxDirectMemorySize=128m -Xss1024K
|
||||||
|
@rem start /b
|
||||||
|
taskkill /f /t /im javaw.exe
|
||||||
CHCP 65001
|
CHCP 65001
|
||||||
%JAVA_HOME%\bin\java -Xms1024m -Xmx1024m -Dfile.encoding=utf-8 -jar lib\xin-launcher.jar
|
@rem 如果此行命令运行失败 使用下方命令
|
||||||
|
start /b %JAVA_HOME%\bin\javaw %MEM_ARGS% -Dfile.encoding=UTF-8 -jar %MAINPATH%
|
||||||
|
@rem start /b %JAVA_HOME%\bin\javaw %MEM_ARGS% %MAINPATH%
|
||||||
|
:end
|
||||||
|
ENDLOCAL
|
||||||
Reference in New Issue
Block a user