Compare commits

...

3 Commits

Author SHA1 Message Date
wess09
3045537d62 fix 2026-05-12 13:16:15 +08:00
wess09
dd6e133694 f 2026-05-12 13:10:34 +08:00
wess09
9cb2a68f3c ing 2026-05-12 13:02:46 +08:00
14 changed files with 126 additions and 137 deletions

View File

@ -1,13 +1,13 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: git://git.lyoko.io/AzurLaneAutoScript
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: git://git.pull/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
@ -23,11 +23,6 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,18 +103,18 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
SSHExecutable: ssh
Webui:
# --host. Host to listen
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,13 +1,13 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: "https://gitee.com/wqeaxc/AzurLaneAutoScript1"
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: https://github.com/wess09/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
@ -23,11 +23,6 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,18 +103,18 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
SSHExecutable: ssh
Webui:
# --host. Host to listen
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,17 +1,17 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: git://git.lyoko.io/AzurLaneAutoScript
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: git://git.pull/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
GitExecutable: "./toolkit/Git/mingw64/bin/git.exe"
GitExecutable: ./toolkit/Git/mingw64/bin/git.exe
# Set git proxy
# [CN user] Use your local http proxy (http://127.0.0.1:{port}) or socks5 proxy (socks5://127.0.0.1:{port})
# [Other] Use null
@ -23,17 +23,12 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
# [Easy installer] Use './toolkit/python.exe'
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: "./toolkit/python.exe"
PythonExecutable: ./toolkit/python.exe
# URL of pypi mirror
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
@ -44,13 +39,13 @@ Deploy:
# Path to requirements.txt
# [In most cases] Use 'requirements.txt'
# [In AidLux] Use './deploy/AidLux/{version}/requirements.txt', version is default to 0.92
RequirementsFile: "requirements.txt"
RequirementsFile: requirements.txt
Adb:
# Filepath of ADB executable `adb.exe`
# [Easy installer] Use './toolkit/Lib/site-packages/adbutils/binaries/adb.exe'
# [Other] Use you own latest ADB, but not the ADB in your emulator
AdbExecutable: "./toolkit/Lib/site-packages/adbutils/binaries/adb.exe"
AdbExecutable: ./toolkit/Lib/site-packages/adbutils/binaries/adb.exe
# Whether to replace ADB
# Chinese emulators (NoxPlayer, LDPlayer, MemuPlayer, MuMuPlayer) use their own ADB, instead of the latest.
# Different ADB servers will terminate each other at startup, resulting in disconnection.
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,18 +103,18 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
SSHExecutable: ssh
Webui:
# --host. Host to listen
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,13 +1,13 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: git://git.lyoko.io/AzurLaneAutoScript
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: git://git.pull/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
@ -23,11 +23,6 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,18 +103,18 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
SSHExecutable: ssh
Webui:
# --host. Host to listen
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,13 +1,13 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: "https://gitee.com/wqeaxc/AzurLaneAutoScript1"
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: https://github.com/wess09/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
@ -23,11 +23,6 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,18 +103,18 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
SSHExecutable: ssh
Webui:
# --host. Host to listen
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,13 +1,13 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: git://git.lyoko.io/AzurLaneAutoScript
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: git://git.pull/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
@ -23,11 +23,6 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,14 +103,14 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,13 +1,13 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: "https://gitee.com/wqeaxc/AzurLaneAutoScript1"
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: https://github.com/wess09/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
@ -23,11 +23,6 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,14 +103,14 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -1,17 +1,17 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://gitee.com/wqeaxc/AzurLaneAutoScript1'
Repository: "https://gitee.com/wqeaxc/AzurLaneAutoScript1"
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: https://github.com/wess09/AzurPilot
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
Branch: "master"
Branch: master
# Filepath of git executable `git.exe`
# [Easy installer] Use './toolkit/Git/mingw64/bin/git.exe'
# [Other] Use you own git
GitExecutable: "./toolkit/Git/mingw64/bin/git.exe"
GitExecutable: ./toolkit/Git/mingw64/bin/git.exe
# Set git proxy
# [CN user] Use your local http proxy (http://127.0.0.1:{port}) or socks5 proxy (socks5://127.0.0.1:{port})
# [Other] Use null
@ -23,17 +23,12 @@ Deploy:
# Update Alas at startup
# [In most cases] Use true
AutoUpdate: true
# Whether to keep local changes during update
# User settings, logs and screenshots will be kept, no mather this is true or false
# [Developer] Use true, if you modified the code
# [Other] Use false
KeepLocalChanges: false
Python:
# Filepath of python executable `python.exe`
# [Easy installer] Use './toolkit/python.exe'
# [Other] Use you own python, and its version should be 3.7.6 64bit
PythonExecutable: "./toolkit/python.exe"
PythonExecutable: ./toolkit/python.exe
# URL of pypi mirror
# [CN user] Use 'https://mirrors.aliyun.com/pypi/simple' for faster and more stable download
# [Other] Use null
@ -44,13 +39,13 @@ Deploy:
# Path to requirements.txt
# [In most cases] Use 'requirements.txt'
# [In AidLux] Use './deploy/AidLux/{version}/requirements.txt', version is default to 0.92
RequirementsFile: "requirements.txt"
RequirementsFile: requirements.txt
Adb:
# Filepath of ADB executable `adb.exe`
# [Easy installer] Use './toolkit/Lib/site-packages/adbutils/binaries/adb.exe'
# [Other] Use you own latest ADB, but not the ADB in your emulator
AdbExecutable: "./toolkit/Lib/site-packages/adbutils/binaries/adb.exe"
AdbExecutable: ./toolkit/Lib/site-packages/adbutils/binaries/adb.exe
# Whether to replace ADB
# Chinese emulators (NoxPlayer, LDPlayer, MemuPlayer, MuMuPlayer) use their own ADB, instead of the latest.
# Different ADB servers will terminate each other at startup, resulting in disconnection.
@ -87,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://gitee.com/wqeaxc/AzurLaneAutoScript1/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0
@ -108,18 +103,18 @@ Deploy:
# Enable remote access (using ssh reverse tunnel serve by https://github.com/wang0618/localshare)
# ! You need to set Password below to enable remote access since everyone can access to your alas if they have your url.
# See here (http://app.azurlane.cloud/en.html) for more infomation.
EnableRemoteAccess: true
EnableRemoteAccess: false
# Username when login into ssh server
# [Default] null (will generate a random one when startup)
SSHUser: null
# Server to connect
# [Default] null
# [Format] host:port
SSHServer: app.hk1.azurlane.cloud:10022
SSHServer: null
# Filepath of SSH executable `ssh.exe`
# [Default] ssh (find ssh in system PATH)
# If you don't have one, install OpenSSH or download it here (https://github.com/PowerShell/Win32-OpenSSH/releases)
SSHExecutable: ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
SSHExecutable: ssh
Webui:
# --host. Host to listen
@ -146,7 +141,7 @@ Deploy:
DpiScaling: true
# --key. Password of web ui
# Useful when expose Alas to the public network
Password: 123456
Password: null
# --cdn. Use jsdelivr cdn for pywebio static files (css, js).
# 'true' for jsdelivr cdn
# 'false' for self host cdn (automatically)

View File

@ -8,13 +8,17 @@ from deploy.Windows.logger import logger
from deploy.Windows.utils import DEPLOY_CONFIG, DEPLOY_TEMPLATE, cached_property, poor_yaml_read, poor_yaml_write
GIT_OVER_CDN_REPOSITORY = 'git://git.pull/AzurPilot'
GIT_OVER_CDN_FALLBACK_REPOSITORY = 'https://gitcode.com/ddl2/AzurLaneAutoScript'
class ExecutionError(Exception):
pass
class ConfigModel:
# Git
Repository: str = "https://github.com/LmeSzinc/AzurLaneAutoScript"
Repository: str = "https://github.com/wess09/AzurPilot"
Branch: str = "master"
GitExecutable: str = "./toolkit/Git/mingw64/bin/git.exe"
GitProxy: Optional[str] = None
@ -117,9 +121,11 @@ class DeployConfig(ConfigModel):
"""
# Bypass webui.config.DeployConfig.__setattr__()
# Don't write these into deploy.yaml
super().__setattr__('GitOverCdn', self.Repository in ['cn'])
if self.Repository in ['global', 'cn']:
super().__setattr__('Repository', 'https://github.com/LmeSzinc/StarRailCopilot')
super().__setattr__('GitOverCdn', self.Repository in ['cn', GIT_OVER_CDN_REPOSITORY])
if self.Repository in ['global']:
super().__setattr__('Repository', 'https://github.com/wess09/AzurPilot')
if self.Repository in ['cn', GIT_OVER_CDN_REPOSITORY]:
super().__setattr__('Repository', GIT_OVER_CDN_FALLBACK_REPOSITORY)
def filepath(self, path):
"""

View File

@ -9,6 +9,11 @@ from deploy.Windows.logger import logger, Progress
from deploy.Windows.utils import cached_property
def quote_arg(value):
value = str(value)
return f'"{value}"' if re.search(r'\s', value) else value
@dataclass
class DataDependency:
name: str
@ -127,6 +132,6 @@ class PipManager(DeployConfig):
arg += ['--disable-pip-version-check']
logger.hr('Update Dependencies', 1)
arg = ' ' + ' '.join(arg) if arg else ''
self.execute(f'{self.pip} install -r {self.requirements_file}{arg}')
arg = ' ' + ' '.join(map(quote_arg, arg)) if arg else ''
self.execute(f'{self.pip} install -r {quote_arg(self.requirements_file)}{arg}')
Progress.UpdateDependency()

View File

@ -5,13 +5,17 @@ from deploy.logger import logger
from deploy.utils import *
GIT_OVER_CDN_REPOSITORY = 'git://git.pull/AzurPilot'
GIT_OVER_CDN_FALLBACK_REPOSITORY = 'https://gitcode.com/ddl2/AzurLaneAutoScript'
class ExecutionError(Exception):
pass
class ConfigModel:
# Git
Repository: str = "https://github.com/LmeSzinc/AzurLaneAutoScript"
Repository: str = "https://github.com/wess09/AzurPilot"
Branch: str = "master"
GitExecutable: str = "./toolkit/Git/mingw64/bin/git.exe"
GitProxy: Optional[str] = None
@ -121,9 +125,16 @@ class DeployConfig(ConfigModel):
'https://e.coding.net/llop18870/alas/AzurLaneAutoScript.git',
'https://e.coding.net/saarcenter/alas/AzurLaneAutoScript.git',
'https://git.saarcenter.com/LmeSzinc/AzurLaneAutoScript.git',
'git://git.lyoko.io/AzurLaneAutoScript',
'https://gitcode.com/ddl2/AzurLaneAutoScript',
'https://gitcode.com/ZhangMusan/AzurLaneAutoScript',
'https://gitcode.com/nerom/AzurLaneAutoScript',
'https://gitee.com/wqeaxc/AzurLaneAutoScript1',
'https://git.nanoda.work/git/AzurLaneAutoScript',
'https://git.nanoda.work',
]:
self.Repository = 'git://git.lyoko.io/AzurLaneAutoScript'
self.config['Repository'] = 'git://git.lyoko.io/AzurLaneAutoScript'
self.Repository = GIT_OVER_CDN_REPOSITORY
self.config['Repository'] = GIT_OVER_CDN_REPOSITORY
if self.PypiMirror in [
'https://pypi.tuna.tsinghua.edu.cn/simple'
]:
@ -134,12 +145,14 @@ class DeployConfig(ConfigModel):
# Don't write these into deploy.yaml
super().__setattr__(
'GitOverCdn',
self.Repository == 'git://git.lyoko.io/AzurLaneAutoScript' and self.Branch == 'master'
self.Repository == GIT_OVER_CDN_REPOSITORY and self.Branch == 'master'
)
if self.Repository == GIT_OVER_CDN_REPOSITORY:
super().__setattr__('Repository', GIT_OVER_CDN_FALLBACK_REPOSITORY)
if self.Repository in ['global']:
super().__setattr__('Repository', 'https://github.com/LmeSzinc/AzurLaneAutoScript')
super().__setattr__('Repository', 'https://github.com/wess09/AzurPilot')
if self.Repository in ['cn']:
super().__setattr__('Repository', 'git://git.lyoko.io/AzurLaneAutoScript')
super().__setattr__('Repository', GIT_OVER_CDN_REPOSITORY)
def filepath(self, key):
"""

View File

@ -8,6 +8,11 @@ from deploy.logger import logger
from deploy.utils import *
def quote_arg(value):
value = str(value)
return f'"{value}"' if re.search(r'\s', value) else value
@dataclass
class DataDependency:
name: str
@ -149,5 +154,5 @@ class PipManager(DeployConfig):
arg += ['--disable-pip-version-check']
logger.hr('Update Dependencies', 1)
arg = ' ' + ' '.join(arg) if arg else ''
self.execute(f'{self.pip} install -r {self.requirements_file}{arg}')
arg = ' ' + ' '.join(map(quote_arg, arg)) if arg else ''
self.execute(f'{self.pip} install -r {quote_arg(self.requirements_file)}{arg}')

View File

@ -1,9 +1,9 @@
Deploy:
Git:
# URL of AzurLaneAutoScript repository
# [CN user] Use 'git://git.lyoko.io/AzurLaneAutoScript' for faster and more stable download
# [Other] Use 'https://github.com/LmeSzinc/AzurLaneAutoScript'
Repository: 'https://github.com/LmeSzinc/AzurLaneAutoScript'
# [CN user] Use 'git://git.pull/AzurPilot' for faster and more stable download
# [Other] Use 'https://github.com/wess09/AzurPilot'
Repository: 'https://github.com/wess09/AzurPilot'
# Branch of Alas
# [Developer] Use 'dev', 'app', etc, to try new features
# [Other] Use 'master', the stable branch
@ -82,7 +82,7 @@ Deploy:
Update:
# Use auto update and builtin updater feature
# This may cause problem https://github.com/LmeSzinc/AzurLaneAutoScript/issues/876
# This may cause problem https://github.com/wess09/AzurPilot/issues/876
EnableReload: true
# Check update every X minute
# [Disable] 0

View File

@ -508,7 +508,7 @@ class ConfigGenerator:
def generate_deploy_template():
template = poor_yaml_read(DEPLOY_TEMPLATE)
cn = {
'Repository': 'git://git.lyoko.io/AzurLaneAutoScript',
'Repository': 'git://git.pull/AzurPilot',
'PypiMirror': 'https://mirrors.aliyun.com/pypi/simple',
'Language': 'zh-CN',
}