From 499ad45079c20f1d77372d579ab14dffc918bd26 Mon Sep 17 00:00:00 2001
From: Alberto Nidasio <alberto.nidasio@skywarder.eu>
Date: Sun, 21 Aug 2022 17:33:20 +0200
Subject: [PATCH] [Deploy] Saved MacOS deploy script

---
 .gitignore   | 3 ++-
 macdeploy.sh | 8 ++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100755 macdeploy.sh

diff --git a/.gitignore b/.gitignore
index f5ebc0d0..34a7ee7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 SkywardHub.pro.user
 SkywardHub.pro.user.*
 .build
-**/.DS_Store
\ No newline at end of file
+**/.DS_Store
+Deploy/*
\ No newline at end of file
diff --git a/macdeploy.sh b/macdeploy.sh
new file mode 100755
index 00000000..70116ab9
--- /dev/null
+++ b/macdeploy.sh
@@ -0,0 +1,8 @@
+BUILD_DIR=../build-SkywardHub-Desktop_Qt_5_15_2_clang_64bit-Release
+
+# macdeployqt script to bundle the app the all its dependedcies
+~/Qt/5.15.2/clang_64/bin/macdeployqt $BUILD_DIR/SkywardHub.app
+
+# Move the bundle in a new forlder
+mkdir -p ./Deploy
+cp -r $BUILD_DIR/SkywardHub.app ./Deploy
-- 
GitLab