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