template 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. Deploy:
  2. Git:
  3. # URL of AzurLaneAutoScript repository
  4. # [CN user] Use 'https://gitee.com/lmeszinc/azur-lane-auto-script-mirror' for faster and more stable download
  5. # [Other] Use 'https://github.com/LmeSzinc/AzurLaneAutoScript'
  6. Repository: https://e.coding.net/onmyojiautoscript/oas/OnmyojiAutoScript.git
  7. # Branch of Alas
  8. # [Developer] Use 'dev', 'app', etc, to try new features
  9. # [Other] Use 'master', the stable branch
  10. Branch: master
  11. # Filepath of git executable `git.exe`
  12. # [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
  13. # [Other] Use you own git
  14. GitExecutable: ./toolkit/Git/mingw64/bin/git.exe
  15. # Set git proxy
  16. # [CN user] Use your local http proxy (http://127.0.0.1:{port}) or socks5 proxy (socks5://127.0.0.1:{port})
  17. # [Other] Use null
  18. GitProxy: null
  19. # Update Alas at startup
  20. # [In most cases] Use true
  21. AutoUpdate: true
  22. # Whether to keep local changes during update
  23. # User settings, logs and screenshots will be kept, no mather this is true or false
  24. # [Developer] Use true, if you modified the code
  25. # [Other] Use false
  26. KeepLocalChanges: false
  27. Python:
  28. # Filepath of python executable `python.exe`
  29. # [Easy installer] Use './toolkit/python.exe'
  30. # [Other] Use you own python, and its version should be 3.7.6 64bit
  31. PythonExecutable: ./toolkit/python.exe
  32. # URL of pypi mirror
  33. # [CN user] Use 'https://pypi.tuna.tsinghua.edu.cn/simple' for faster and more stable download
  34. # [Other] Use null
  35. PypiMirror: https://pypi.tuna.tsinghua.edu.cn/simple
  36. # Install dependencies at startup
  37. # [In most cases] Use true
  38. InstallDependencies: true
  39. # Path to requirements.txt
  40. # [In most cases] Use 'requirements.txt'
  41. # [In AidLux] Use './deploy/AidLux/{version}/requirements.txt', version is default to 0.92
  42. RequirementsFile: requirements.txt
  43. Adb:
  44. # Filepath of ADB executable `adb.exe`
  45. # [Easy installer] Use './toolkit/Lib/site-packages/adbutils/binaries/adb.exe'
  46. # [Other] Use you own latest ADB, but not the ADB in your emulator
  47. AdbExecutable: ./toolkit/Lib/site-packages/adbutils/binaries/adb.exe
  48. # Whether to replace ADB
  49. # Chinese emulators (NoxPlayer, LDPlayer, MemuPlayer, MuMuPlayer) use their own ADB, instead of the latest.
  50. # Different ADB servers will terminate each other at startup, resulting in disconnection.
  51. # For compatibility, we have to replace them all.
  52. # This will do:
  53. # 1. Terminate current ADB server
  54. # 2. Rename ADB from all emulators to *.bak and replace them by the AdbExecutable set above
  55. # 3. Brute-force connect to all available emulator instances
  56. # [In most cases] Use true
  57. # [In few cases] Use false, if you have other programs using ADB.
  58. ReplaceAdb: true
  59. # Brute-force connect to all available emulator instances
  60. # [In most cases] Use true
  61. AutoConnect: true
  62. # Re-install uiautomator2
  63. # [In most cases] Use true
  64. InstallUiautomator2: true
  65. Ocr:
  66. # Run Ocr as a service, can reduce memory usage by not import mxnet everytime you start an alas instance
  67. # Whether to use ocr server
  68. # [Default] false
  69. UseOcrServer: false
  70. # Whether to start ocr server when start GUI
  71. # [Default] false
  72. StartOcrServer: false
  73. # Port of ocr server runs by GUI
  74. # [Default] 22268
  75. OcrServerPort: 22268
  76. # Address of ocr server for alas instance to connect
  77. # [Default] 127.0.0.1:22268
  78. OcrClientAddress: 127.0.0.1:22268
  79. Update:
  80. # Use auto update and builtin updater feature
  81. # This may cause problem https://github.com/LmeSzinc/AzurLaneAutoScript/issues/876
  82. EnableReload: true
  83. # Check update every X minute
  84. # [Disable] 0
  85. # [Default] 5
  86. CheckUpdateInterval: 5
  87. # Scheduled restart time
  88. # If there are updates, Alas will automatically restart and update at this time every day
  89. # and run all alas instances that running before restarted
  90. # [Disable] null
  91. # [Default] 03:50
  92. AutoRestartTime: 03:50
  93. Misc:
  94. # Enable discord rich presence
  95. DiscordRichPresence: false
  96. RemoteAccess:
  97. # Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
  98. # ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
  99. # See here (http://app.azurlane.cloud/en.html) for more infomation.
  100. EnableRemoteAccess: false
  101. # Username when login into ssh server
  102. # [Default] null (will generate a random one when startup)
  103. SSHUser: null
  104. # Server to connect
  105. # [Default] null
  106. # [Format] host:port
  107. SSHServer: null
  108. # Filepath of SSH executable `ssh.exe`
  109. # [Default] ssh (find ssh in system PATH)
  110. # If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
  111. SSHExecutable: ssh
  112. Webui:
  113. # --host. Host to listen
  114. # [Use IPv6] '::'
  115. # [In most cases] Default to '0.0.0.0'
  116. WebuiHost: 0.0.0.0
  117. # --port. Port to listen
  118. # You will be able to access webui via `http://{host}:{port}`
  119. # [In most cases] Default to 22267
  120. WebuiPort: 22267
  121. # Language to use on web ui
  122. # 'zh-CN' for Chinese simplified
  123. # 'en-US' for English
  124. # 'ja-JP' for Japanese
  125. # 'zh-TW' for Chinese traditional
  126. Language: zh-CN
  127. # Theme of web ui
  128. # 'default' for light theme
  129. # 'dark' for dark theme
  130. Theme: default
  131. # Follow system DPI scaling
  132. # [In most cases] true
  133. # [In few cases] false to make Alas smaller, if you have a low resolution but high DPI scaling.
  134. DpiScaling: true
  135. # --key. Password of web ui
  136. # Useful when expose Alas to the public network
  137. Password: null
  138. # --cdn. Use jsdelivr cdn for pywebio static files (css, js).
  139. # 'true' for jsdelivr cdn
  140. # 'false' for self host cdn (automatically)
  141. # 'https://path.to.your/cdn' to use custom cdn
  142. CDN: false
  143. # --run. Auto-run specified config when startup
  144. # 'null' default no specified config
  145. # '["alas"]' specified "alas" config
  146. # '["alas","alas2"]' specified "alas" "alas2" configs
  147. Run: null