Move nheko buildir up by one
This commit is contained in:
parent
d6ab75250f
commit
3e34f9de61
5 changed files with 10 additions and 12 deletions
|
|
@ -21,15 +21,15 @@ cmake -GNinja -S. -Bbuild \
|
|||
-DUSE_BUNDLED_OPENSSL=ON \
|
||||
-DCI_BUILD=ON
|
||||
cmake --build build
|
||||
cmake --install build
|
||||
( cd build
|
||||
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git
|
||||
( cd qt-jdenticon
|
||||
qmake
|
||||
make -j 4
|
||||
cp libqtjdenticon.dylib ../nheko.app/Contents/MacOS
|
||||
cp libqtjdenticon.dylib ../../nheko.app/Contents/MacOS
|
||||
)
|
||||
# "$(brew --prefix qt6)/bin/macdeployqt" nheko.app -always-overwrite -qmldir=../resources/qml/
|
||||
# # workaround for https://bugreports.qt.io/browse/QTBUG-100686
|
||||
# cp "$(brew --prefix brotli)/lib/libbrotlicommon.1.dylib" nheko.app/Contents/Frameworks/libbrotlicommon.1.dylib
|
||||
cmake --install .
|
||||
)
|
||||
|
|
|
|||
|
|
@ -20,25 +20,23 @@ if [ -n "${CI_PIPELINE_TRIGGERED:-}" ] && [ "${TRIGGERED_BY:-}" = "cirrus" ]; th
|
|||
unzip binaries.zip
|
||||
# we zip 'build/nheko.app' in cirrus ci, cirrus itself puts it in a 'build' directory
|
||||
# so move it to the right place for the rest of the process.
|
||||
( cd build || exit
|
||||
unzip nheko.zip
|
||||
)
|
||||
unzip nheko.zip
|
||||
fi
|
||||
|
||||
if [ ! -d "build/nheko.app" ]; then
|
||||
if [ ! -d "nheko.app" ]; then
|
||||
echo "nheko.app is missing, you did something wrong!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "[INFO] Signing app contents"
|
||||
find "build/nheko.app/Contents"|while read -r fname; do
|
||||
find "nheko.app/Contents"|while read -r fname; do
|
||||
if [ -f "$fname" ]; then
|
||||
echo "[INFO] Signing $fname"
|
||||
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "$fname"
|
||||
fi
|
||||
done
|
||||
|
||||
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "build/nheko.app"
|
||||
codesign --force --timestamp --options=runtime --sign "${APPLE_DEV_IDENTITY}" "nheko.app"
|
||||
|
||||
NOTARIZE_SUBMIT_LOG=$(mktemp /tmp/notarize-submit.XXXXXX)
|
||||
NOTARIZE_STATUS_LOG=$(mktemp /tmp/notarize-status.XXXXXX)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"compression-level": 9,
|
||||
"contents": [
|
||||
{
|
||||
"path": "./build/Nheko.app",
|
||||
"path": "./Nheko.app",
|
||||
"type": "file",
|
||||
"x": 140,
|
||||
"y": 120
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue