mirror of
https://github.com/Yuyi-Oak/BlueArchiveToolkit.git
synced 2026-09-18 06:34:54 +08:00
feat(assetbundle): 完善官方资源解析与双目录发布
This commit is contained in:
@@ -10,10 +10,11 @@ User=bat
|
||||
Group=bat
|
||||
WorkingDirectory=/var/lib/bluearchive-toolkit
|
||||
Environment=BAT_OUTPUT_ROOT=/var/lib/bluearchive-toolkit/official
|
||||
Environment=BAT_LOCALIZED_OUTPUT_ROOT=/var/lib/bluearchive-toolkit/localized
|
||||
Environment=BAT_INTERVAL=1h
|
||||
Environment=BAT_ERROR_RETRY=60s
|
||||
EnvironmentFile=-/etc/bluearchive-toolkit/official-sync.env
|
||||
ExecStart=/opt/bluearchive-toolkit/bin/bat --auto-discover --output ${BAT_OUTPUT_ROOT} --watch --interval ${BAT_INTERVAL} --error-retry ${BAT_ERROR_RETRY} --no-banner
|
||||
ExecStart=/opt/bluearchive-toolkit/bin/bat --auto-discover --output ${BAT_OUTPUT_ROOT} --localized-output ${BAT_LOCALIZED_OUTPUT_ROOT} --watch --interval ${BAT_INTERVAL} --error-retry ${BAT_ERROR_RETRY} --no-banner
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
TimeoutStopSec=60
|
||||
|
||||
@@ -4,9 +4,11 @@
|
||||
# sudo install -o root -g root -m 0644 deployments/systemd/official-sync.env.example /etc/bluearchive-toolkit/official-sync.env
|
||||
#
|
||||
# Paths are intentionally independent from any official launcher or game client
|
||||
# install directory. Do not point BAT_OUTPUT_ROOT at an existing game directory.
|
||||
# install directory. Do not point either root at an existing game directory, and
|
||||
# keep the official and localized roots separate.
|
||||
|
||||
BAT_OUTPUT_ROOT=/var/lib/bluearchive-toolkit/official
|
||||
BAT_LOCALIZED_OUTPUT_ROOT=/var/lib/bluearchive-toolkit/localized
|
||||
BAT_INTERVAL=1h
|
||||
BAT_ERROR_RETRY=60s
|
||||
|
||||
|
||||
Reference in New Issue
Block a user