summary refs log tree commit diff
path: root/.ci
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 19:30:47 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-19 19:30:56 +0200
commitb15d889da0fc0d8ac781034971de586589916ce5 (patch)
treef1611dbb817dbec2ffee005d7e27150e1cd42be7 /.ci
parentMove nheko buildir up by one (diff)
downloadnheko-b15d889da0fc0d8ac781034971de586589916ce5.tar.xz
Fix double nested nheko folder
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/macos/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.ci/macos/build.sh b/.ci/macos/build.sh
index cf6a634d..aa515186 100755
--- a/.ci/macos/build.sh
+++ b/.ci/macos/build.sh
@@ -14,7 +14,7 @@ export CMAKE_PREFIX_PATH
 
 cmake -GNinja -S. -Bbuild \
       -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-      -DCMAKE_INSTALL_PREFIX="nheko.app" \
+      -DCMAKE_INSTALL_PREFIX="nheko.temp" \
       -DHUNTER_ROOT="../.hunter" \
       -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF \
       -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHUNTER_CONFIGURATION_TYPES=RelWithDebInfo \
@@ -27,9 +27,11 @@ cmake --install build
   ( cd qt-jdenticon
     qmake
     make -j 4
-    cp libqtjdenticon.dylib ../../nheko.app/Contents/MacOS
+    cp libqtjdenticon.dylib ../../nheko.temp/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
 )
+
+mv nheko.temp/nheko.app nheko.app