1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-14 07:16:04 +08:00

Add: Option to toggle DPI scaling

This commit is contained in:
LmeSzinc
2022-01-16 12:16:59 +08:00
parent b46d7dea19
commit 186c78eae9
5 changed files with 13 additions and 5 deletions

View File

@@ -14,3 +14,4 @@ export const pythonPath = (path.isAbsolute(PythonExecutable) ? PythonExecutable
export const webuiUrl = `http://127.0.0.1:${WebuiPort}`;
export const webuiPath = 'gui.py';
export const webuiArgs = ['--port', WebuiPort, '--electron'];
export const dpiScaling = Boolean(config.Deploy.Webui.DpiScaling) || (config.Deploy.Webui.DpiScaling === undefined) ;