mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Misc
This commit is contained in:
parent
1857fec906
commit
a7df090225
1 changed files with 8 additions and 2 deletions
10
run.sh
10
run.sh
|
@ -14,9 +14,15 @@ PARSE_ARG() {
|
|||
BINARY_ARGS+=("$1")
|
||||
|
||||
case "$1" in
|
||||
--cryptkey|--server|--service) ;;
|
||||
--path) PATH_NEXT=1 ;;
|
||||
--path=*) cd "$(echo "$1" | cut -d '=' -f 2-)" ;;
|
||||
--path=*)
|
||||
if [[ "$PATH_NEXT" -eq 1 ]]; then
|
||||
PATH_NEXT=0
|
||||
cd "$1"
|
||||
else
|
||||
cd "$(echo "$1" | cut -d '=' -f 2-)"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
if [[ "$PATH_NEXT" -eq 1 ]]; then
|
||||
PATH_NEXT=0
|
||||
|
|
Loading…
Reference in a new issue