Skip to content

Commit

Permalink
build, qt: (Re-)sign package
Browse files Browse the repository at this point in the history
Starting with macOS 11 on Apple silicon, executables must be signed
before they are allowed to run.
  • Loading branch information
hebasto committed Feb 17, 2022
1 parent c26a0a5 commit 1513727
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/macdeploy/macdeployqtplus
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

import sys, re, os, shutil, stat, os.path
import sys, re, os, platform, shutil, stat, subprocess, os.path
from argparse import ArgumentParser
from ds_store import DSStore
from mac_alias import Alias
Expand Down Expand Up @@ -541,6 +541,9 @@ ds.close()

# ------------------------------------------------

if platform.system() == "Darwin":
subprocess.check_call(f"codesign --deep --force --sign - {target}", shell=True)

if config.dmg is not None:

print("+ Preparing .dmg disk image +")
Expand Down

0 comments on commit 1513727

Please sign in to comment.