mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 07:04:27 +00:00
Misc
This commit is contained in:
parent
0a64988365
commit
f45717cb1a
1 changed files with 13 additions and 2 deletions
15
run.sh
15
run.sh
|
@ -1,13 +1,24 @@
|
|||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
ASF_PATH="$(dirname "$(readlink -f "$0")")/ArchiSteamFarm/out/source"
|
||||
CONFIG_PATH="config/ASF.json"
|
||||
|
||||
cd "$(dirname "$(readlink -f "$0")")/ArchiSteamFarm/out/source"
|
||||
if [[ ! -d "$ASF_PATH" ]]; then
|
||||
echo "ERROR: $ASF_PATH could not be found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$ASF_PATH"
|
||||
|
||||
BINARY="$(pwd)/ArchiSteamFarm.dll"
|
||||
BINARY_ARGS=()
|
||||
|
||||
if [[ ! -f "$BINARY" ]]; then
|
||||
echo "ERROR: $BINARY could not be found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BINARY_ARGS=()
|
||||
PATH_NEXT=0
|
||||
|
||||
PARSE_ARG() {
|
||||
|
|
Loading…
Reference in a new issue