This commit is contained in:
JustArchi
2017-10-10 03:59:49 +02:00
parent 8515efd6ee
commit 293d259b10
2 changed files with 3 additions and 9 deletions

View File

@@ -1,11 +1,7 @@
@echo off
pushd %~dp0
:loop
IF NOT "%1" == "" (
SET ASF_ARGS=%ASF_ARGS% %1
SHIFT
GOTO :loop
)
SETLOCAL
SET ASF_ARGS=%ASF_ARGS% %*
dotnet ArchiSteamFarm.dll %ASF_ARGS%

View File

@@ -6,9 +6,7 @@ if [[ -z "${ASF_ARGS-}" ]]; then
ASF_ARGS=""
fi
for ARG in "$@"; do
ASF_ARGS+=" $ARG"
done
ASF_ARGS+=" $*"
# We don't need our shell anymore, just replace the current process instead of starting a new one
exec dotnet ArchiSteamFarm.dll $ASF_ARGS