summarylogtreecommitdiffstats
path: root/ResharperHost-runtime-folder.sh
blob: b08bd3ffd0f1d6abcf59639c76f7bae2eead9fbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

case $(uname) in
Darwin) platform=macos;;
Linux)  platform=linux;;
*) echo "Unknown platform: $(uname)"; exit 1;;
esac

case $(uname -m) in
x86_64)  architecture=x64;;
aarch64) architecture=arm64;;
*) echo "Unknown architecture: $(uname -m)" >&2; exit 2;;
esac

echo $platform-$architecture