Skip to content

Commit 62fbaa0

Browse files
committed
Added support for android when installing in mono mode
1 parent b232dea commit 62fbaa0

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

installer/omnisharp-manager.sh

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,18 @@ else
6363
exit 1
6464
fi
6565

66-
# Check the machine architecture
67-
case "$(uname -m)" in
68-
"x86_64") machine="x64";;
69-
"i368") machine="x86";;
70-
*)
71-
echo "Error: OmniSharp-Roslyn only works on x86 CPU architecture"
72-
exit 1
73-
;;
74-
esac
66+
# If not installing in mono mode
67+
if [ -z "$mono" ]; then
68+
# Check the machine architecture
69+
case "$(uname -m)" in
70+
"x86_64") machine="x64";;
71+
"i368") machine="x86";;
72+
*)
73+
echo "Error: OmniSharp-Roslyn only works on x86 CPU architecture"
74+
exit 1
75+
;;
76+
esac
77+
fi
7578

7679
# Check the operating system
7780
case "$(uname -s)" in

0 commit comments

Comments
 (0)