Remove admin webui, move options to CLI args

This commit is contained in:
Ethan O'Brien
2024-11-02 12:22:16 -05:00
parent 7aaf22c923
commit 8bc07a6419
10 changed files with 20 additions and 167 deletions

View File

@ -12,6 +12,8 @@ services:
NPPS4_ADDRESS: "http://127.0.0.1:51376"
MAXTIME: 1717045200 # A day before global EOS
HIDDEN: false # Will disable the webui
DISABLE_IMPORTS: false # Will disable account imports
DISABLE_EXPORTS: false # Will disable account exports
# Everything below is for the "Help" page
#ANDROID_GLOBAL: "link.to/patched/android/global.apk"

View File

@ -13,4 +13,8 @@ maxTime="${MAXTIME:-0}"
purge=$([ "$PURGE" = "true" ] && echo "--purge" || echo "")
/root/ew/ew --path $directory --port $port --npps4 $npps4 $purge $hidden $https --global-android "$ANDROID_GLOBAL" --japan-android "$ANDROID_JAPAN" --global-ios "$IOS_GLOBAL" --japan-ios "$IOS_JAPAN" --assets-url "$ASSET_URL" --max-time $maxTime
imports=$([ "$DISABLE_IMPORTS" = "true" ] && echo "--disable-imports" || echo "")
exports=$([ "$DISABLE_EXPORTS" = "true" ] && echo "--disable-exports" || echo "")
/root/ew/ew --path $directory --port $port --npps4 $npps4 $exports $imports $purge $hidden $https --global-android "$ANDROID_GLOBAL" --japan-android "$ANDROID_JAPAN" --global-ios "$IOS_GLOBAL" --japan-ios "$IOS_JAPAN" --assets-url "$ASSET_URL" --max-time $maxTime