mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 12:19:54 +00:00
* core: 6.2.0.1 (simplexmq 6.2.0.4) * action: fix mac build * fix Windows * version * revert version change --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
21 lines
504 B
Bash
21 lines
504 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
function readlink() {
|
|
echo "$(cd "$(dirname "$1")"; pwd -P)"
|
|
}
|
|
root_dir="$(dirname "$(dirname "$(readlink "$0")")")"
|
|
|
|
cd $root_dir
|
|
|
|
if [ ! -f dist-newstyle/openssl-3.0.15/libcrypto-3-x64.dll ]; then
|
|
mkdir dist-newstyle 2>/dev/null || true
|
|
cd dist-newstyle
|
|
curl --tlsv1.2 https://www.openssl.org/source/openssl-3.0.15.tar.gz -L -o openssl.tar.gz
|
|
$WINDIR\\System32\\tar.exe -xvzf openssl.tar.gz
|
|
cd openssl-3.0.15
|
|
./Configure mingw64
|
|
make
|
|
cd ../../
|
|
fi
|