mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-08-26 15:02:18 +08:00
Fix outdated asset version flag
This commit is contained in:
@@ -19,14 +19,15 @@ services:
|
||||
#MASTERDATA: /masterdata/ # Override bundled CSVs / new_user.json at runtime (missing files fall back to the internal copies)
|
||||
|
||||
# Asset hash / version overrides. Leave unset to use the values bundled in
|
||||
# the binary; set one to make the server report a different hash/version
|
||||
# to that client (e.g. to track a newer client build).
|
||||
# the binary. ASSET_VERSION is the one version every override below is
|
||||
# served for; each hash replaces what that client is told to expect
|
||||
# (e.g. to track a newer client build).
|
||||
#ASSET_VERSION: ""
|
||||
#JP_ANDROID_ASSET_HASH: ""
|
||||
#JP_IOS_ASSET_HASH: ""
|
||||
#EN_ANDROID_ASSET_HASH: ""
|
||||
#EN_IOS_ASSET_HASH: ""
|
||||
#WINDOWS_ASSET_VERSION: "" # Windows asset version (JP only; GL Windows is unused)
|
||||
#WINDOWS_ASSET_HASH: "" # Windows asset hash (JP only)
|
||||
#WINDOWS_ASSET_HASH: "" # Windows asset hash (JP only; GL Windows is unused)
|
||||
|
||||
# Everything below is for the "Help" page
|
||||
#ANDROID_GLOBAL: "link.to/patched/android/global.apk"
|
||||
@@ -41,6 +42,6 @@ services:
|
||||
# You can download from https://git.ethanthesleepy.one/ethanaobrien/ew-webui/releases/download/images/card-thumbnails.zip
|
||||
# No, you should not have a nested folder EXAMPLE: `images/FILENAME.webp`
|
||||
#- ./images:/images
|
||||
# Mirrors the bundled layout: asset_lists/{Bundle,Movie,Sound}.json, csv/<table>.csv, csv-en/<table>.csv, userdata/new_user.json
|
||||
# Mirrors the bundled layout: csv/<table>.csv, csv-en/<table>.csv, userdata/new_user.json
|
||||
#- ./masterdata:/masterdata
|
||||
restart: unless-stopped
|
||||
|
||||
@@ -23,11 +23,11 @@ add_opt() {
|
||||
}
|
||||
|
||||
# Asset hash / version overrides
|
||||
add_opt "${ASSET_VERSION:-}" --asset-version
|
||||
add_opt "${JP_ANDROID_ASSET_HASH:-}" --jp-android-asset-hash
|
||||
add_opt "${JP_IOS_ASSET_HASH:-}" --jp-ios-asset-hash
|
||||
add_opt "${EN_ANDROID_ASSET_HASH:-}" --en-android-asset-hash
|
||||
add_opt "${EN_IOS_ASSET_HASH:-}" --en-ios-asset-hash
|
||||
add_opt "${WINDOWS_ASSET_VERSION:-}" --windows-asset-version
|
||||
add_opt "${WINDOWS_ASSET_HASH:-}" --windows-asset-hash
|
||||
|
||||
# Asset / image paths.
|
||||
|
||||
Reference in New Issue
Block a user