mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-24 04:29:23 +00:00
30 lines
456 B
Bash
30 lines
456 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
|
||
|
function get_platform {
|
||
|
local platform="unknown"
|
||
|
if [ "$(uname)" == "Darwin" ]; then
|
||
|
platform="darwin"
|
||
|
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||
|
platform="linux"
|
||
|
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then
|
||
|
platform="mingw64"
|
||
|
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
|
||
|
platform="mingw32"
|
||
|
fi
|
||
|
echo "$platform"
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|