Do not generate WinRT headers, just download them on build
This commit is contained in:
parent
88a376c1c2
commit
c57fc768aa
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -2,6 +2,3 @@
|
||||||
path = plugins/signal-protocol/libsignal-protocol-c
|
path = plugins/signal-protocol/libsignal-protocol-c
|
||||||
url = https://github.com/WhisperSystems/libsignal-protocol-c.git
|
url = https://github.com/WhisperSystems/libsignal-protocol-c.git
|
||||||
branch = v2.3.3
|
branch = v2.3.3
|
||||||
[submodule "plugins/windows-notification/yolort-builder"]
|
|
||||||
path = plugins/windows-notification/yolort-builder
|
|
||||||
url = https://github.com/Yuubi-san/YoloRT.git
|
|
||||||
|
|
|
@ -1,15 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
export FILE_NAME=cppwinrt-2.0.210122.3+windows-10.0.19041+yolort-835cd4e.zip
|
||||||
export ORIGINAL_FOLDER=${PWD}
|
export ORIGINAL_FOLDER=${PWD}
|
||||||
cd ${PWD}/yolort-builder
|
|
||||||
|
|
||||||
if [ ! -f bin/cppwinrt.exe ]; then
|
mkdir -p yolort && \
|
||||||
make CPPWINRT_VERSION=2.0.210122.3 bin/cppwinrt.exe
|
cd yolort && \
|
||||||
fi
|
curl -L -O https://github.com/LAGonauta/YoloRT/releases/download/v1.0.0/${FILE_NAME} && \
|
||||||
|
unzip -o ${FILE_NAME} && \
|
||||||
make originals
|
rm ${FILE_NAME} && \
|
||||||
make --jobs=$(nproc)
|
|
||||||
|
|
||||||
mkdir -p ../yolort
|
|
||||||
cp -r include ../yolort
|
|
||||||
cd ${ORIGINAL_FOLDER}
|
cd ${ORIGINAL_FOLDER}
|
|
@ -1 +0,0 @@
|
||||||
Subproject commit 835cd4eefd456df0a9d017310beba772f1c48460
|
|
Loading…
Reference in a new issue