From 8cdceb64fa8d600b05dedd5d0e31c6fcc0972fe0 Mon Sep 17 00:00:00 2001
From: Inso <insomniak.fr@gmail.com>
Date: Tue, 2 Feb 2016 08:35:29 +0100
Subject: [PATCH] Enhance macos build

---
 ci/travis/build.sh | 2 ++
 sakia.spec         | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ci/travis/build.sh b/ci/travis/build.sh
index 14014313..f097d6d6 100755
--- a/ci/travis/build.sh
+++ b/ci/travis/build.sh
@@ -20,6 +20,8 @@ python gen_translations.py
 if [ $TRAVIS_OS_NAME == "osx" ]
 then
     pyinstaller sakia.spec
+    cp -rv dist/sakia/* dist/sakia.app/Contents/MacOS
+    rm -rfv dist/sakia
 elif [ $TRAVIS_OS_NAME == "linux" ]
 then
     pyinstaller sakia.spec
diff --git a/sakia.spec b/sakia.spec
index 3a4f0e06..52b026d7 100644
--- a/sakia.spec
+++ b/sakia.spec
@@ -63,7 +63,8 @@ if is_darwin:
          icon='sakia.ico',
          bundle_identifier=None,
          info_plist={
-        'NSHighResolutionCapable': 'True'
+        'NSHighResolutionCapable': 'True',
+        'LSBackgroundOnly': 'False'
         },)
 
 
-- 
GitLab