mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
695d47da2d
* desktop: Windows build
* temp
* temp
* new way of libs loading
* new way of libs loading
* Revert "new way of libs loading"
This reverts commit 8632f8a8f7.
* made VLC working on Windows
* unused lib
* scripts
* updated script
* fix path
* fix lib loading
* fix lib loading
* packaging options
* different file manager implementation on Windows
---------
Co-authored-by: Avently <avently.local>
Co-authored-by: avently <avently@local>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
28 lines
844 B
Bash
28 lines
844 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
function readlink() {
|
|
echo "$(cd "$(dirname "$1")"; pwd -P)"
|
|
}
|
|
|
|
if [ -z "${1}" ]; then
|
|
echo "Job repo is unset. Provide it via first argument like: $(readlink "$0")/download-lib-windows.sh https://something.com/job/something/{windows,windows-8107}"
|
|
exit 1
|
|
fi
|
|
|
|
job_repo=$1
|
|
arch=x86_64
|
|
root_dir="$(dirname "$(dirname "$(readlink "$0")")")"
|
|
output_dir="$root_dir/apps/multiplatform/common/src/commonMain/cpp/desktop/libs/windows-$arch/"
|
|
|
|
mkdir -p "$output_dir"/deps 2> /dev/null
|
|
|
|
curl --location -o libsimplex.zip $job_repo/$arch-linux.$arch-windows:lib:simplex-chat/latest/download/1 && \
|
|
$WINDIR\\System32\\tar.exe -xf libsimplex.zip && \
|
|
mv libsimplex.dll "$output_dir" && \
|
|
mv libcrypto*.dll "$output_dir/deps" && \
|
|
mv libffi*.dll "$output_dir/deps" && \
|
|
mv libgmp*.dll "$output_dir/deps" && \
|
|
rm libsimplex.zip
|