mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -90,7 +90,7 @@ MONO_ENV_OPTIONS_ADD "--server"
|
||||
if [ -n "$MONO_FACADES" ]; then
|
||||
echo "INFO: Mono facades path was already set to: $MONO_FACADES"
|
||||
else
|
||||
for USR in "/usr" "/Library/Frameworks/Mono.framework/Versions/${CURRENT_MONO_VERSION}"; do
|
||||
for USR in "/opt/mono" "/usr" "/Library/Frameworks/Mono.framework/Versions/${CURRENT_MONO_VERSION}"; do
|
||||
for API in "${MINIMUM_NET_FRAMEWORK}-api" "4.5"; do # 4.5 is fallback path that existed before Mono decided to split Facades on per-API basis - still available
|
||||
if [ -d "${USR}/lib/mono/${API}/Facades" ]; then
|
||||
export MONO_FACADES="${USR}/lib/mono/${API}/Facades"
|
||||
|
||||
Reference in New Issue
Block a user