mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Correct run.sh
This commit is contained in:
parent
df7cede9a4
commit
fb09581d18
1 changed files with 2 additions and 5 deletions
7
run.sh
7
run.sh
|
@ -3,21 +3,18 @@ set -eu
|
||||||
|
|
||||||
PROJECT="ArchiSteamFarm"
|
PROJECT="ArchiSteamFarm"
|
||||||
OUT="out"
|
OUT="out"
|
||||||
BINARY="${OUT}/${PROJECT}.dll"
|
BINARY="${PROJECT}/${OUT}/${PROJECT}.dll"
|
||||||
|
|
||||||
ASF_ARGS=("")
|
ASF_ARGS=("")
|
||||||
BUILD="Release"
|
|
||||||
UNTIL_CLEAN_EXIT=0
|
UNTIL_CLEAN_EXIT=0
|
||||||
|
|
||||||
PRINT_USAGE() {
|
PRINT_USAGE() {
|
||||||
echo "Usage: $0 [--until-clean-exit] [--cryptkey=] [--path=] [--server] [debug/release]"
|
echo "Usage: $0 [--until-clean-exit] [--cryptkey=] [--path=] [--server]"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
for ARG in "$@"; do
|
for ARG in "$@"; do
|
||||||
case "$ARG" in
|
case "$ARG" in
|
||||||
release|Release) BUILD="Release" ;;
|
|
||||||
debug|Debug) BUILD="Debug" ;;
|
|
||||||
--cryptkey=*) ASF_ARGS+=("$ARG") ;;
|
--cryptkey=*) ASF_ARGS+=("$ARG") ;;
|
||||||
--path=*) ASF_ARGS+=("$ARG") ;;
|
--path=*) ASF_ARGS+=("$ARG") ;;
|
||||||
--server) ASF_ARGS+=("$ARG") ;;
|
--server) ASF_ARGS+=("$ARG") ;;
|
||||||
|
|
Loading…
Reference in a new issue