mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
build, qt: (Re-)sign package
Starting with macOS 11 on Apple silicon, executables must be signed before they are allowed to run.
This commit is contained in:
parent
c26a0a5af7
commit
1513727e2b
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# 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 argparse import ArgumentParser
|
||||||
from ds_store import DSStore
|
from ds_store import DSStore
|
||||||
from mac_alias import Alias
|
from mac_alias import Alias
|
||||||
|
@ -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:
|
if config.dmg is not None:
|
||||||
|
|
||||||
print("+ Preparing .dmg disk image +")
|
print("+ Preparing .dmg disk image +")
|
||||||
|
|
Loading…
Add table
Reference in a new issue