diff options
author | fanquake <fanquake@gmail.com> | 2020-11-07 16:58:21 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-11-11 08:01:02 +0800 |
commit | 7087440894a9daa7de806c5aa42d83ad60759c65 (patch) | |
tree | f2bf72563eda31360d121137f00a092c970d776c /contrib/macdeploy/custom_dsstore.py | |
parent | fa8dd34e918cd80db215df8937aaf6bb1552fcd9 (diff) | |
download | bitcoin-7087440894a9daa7de806c5aa42d83ad60759c65.tar.xz |
depends: native_ds_store 1.3.0
native_ds_store now takes advantage of Pythons ability to decode binary
plists (since 3.4), so we can drop its biplist dependency.
The call to biplist.Data() in custom_dsstore doesn't seem to do anything,
and from what I can tell can just be removed.
Diffstat (limited to 'contrib/macdeploy/custom_dsstore.py')
-rwxr-xr-x | contrib/macdeploy/custom_dsstore.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/macdeploy/custom_dsstore.py b/contrib/macdeploy/custom_dsstore.py index dc1c1882dd..7ab42ea5d4 100755 --- a/contrib/macdeploy/custom_dsstore.py +++ b/contrib/macdeploy/custom_dsstore.py @@ -2,7 +2,6 @@ # Copyright (c) 2013-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. -import biplist from ds_store import DSStore from mac_alias import Alias import sys @@ -47,7 +46,7 @@ alias.volume.disk_image_alias.target.filename = package_name_ns + '.temp.dmg' alias.volume.disk_image_alias.target.carbon_path = 'Macintosh HD:Users:\x00bitcoinuser:\x00Documents:\x00bitcoin:\x00bitcoin:\x00' + package_name_ns + '.temp.dmg' alias.volume.disk_image_alias.target.posix_path = 'Users/bitcoinuser/Documents/bitcoin/bitcoin/' + package_name_ns + '.temp.dmg' alias.target.carbon_path = package_name_ns + ':.background:\x00background.tiff' -icvp['backgroundImageAlias'] = biplist.Data(alias.to_bytes()) +icvp['backgroundImageAlias'] = alias.to_bytes() ds['.']['icvp'] = icvp ds['.']['vSrn'] = ('long', 1) |