Skip to content

Commit 47b8a6d

Browse files
committed
Packaged and notarized SLIP-39-11.0.2.pkg successfully
1 parent a618ed6 commit 47b8a6d

File tree

3 files changed

+57
-56
lines changed

3 files changed

+57
-56
lines changed

GNUmakefile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ TEAMID ?= ZD8TVTCXDS
1111
# The unique App ID assigned by App Store Connect, under App Information (NOT your Apple ID!!)
1212
APPID ?= 1608360813
1313
#DEVID ?= 3rd Party Mac Developer Application: Perry Kundert ($(TEAMID))
14-
DEVID ?= Developer ID Application: Perry Kundert ($(TEAMID))
15-
PKGID ?= 3rd Party Mac Developer Installer: Perry Kundert ($(TEAMID))
16-
#PKGID ?= Developer ID Installer: Perry Kundert ($(TEAMID))
14+
#DEVID ?= Developer ID Application: Perry Kundert ($(TEAMID))
15+
DEVID ?= DDB5489E29389E9081E0A2FD83B6555D1B101829
16+
#PKGID ?= 3rd Party Mac Developer Installer: Perry Kundert ($(TEAMID))
17+
PKGID ?= Developer ID Installer: Perry Kundert ($(TEAMID))
1718
DSTID ?= Apple Distribution: Perry Kundert ($(TEAMID))
1819
BUNDLEID ?= ca.kundert.perry.SLIP39
1920
APIISSUER ?= 5f3b4519-83ae-4e01-8d31-f7db26f68290
@@ -381,13 +382,15 @@ dist/SLIP-39-$(VERSION).dmg.upload-app: dist/SLIP-39-$(VERSION).dmg dist/SLIP-39
381382
# o Need ... --product <path-to-app-bundle-Info.plist>
382383
# According to this article, a "Developer ID Installer:..." signing key is required:
383384
# See: https://forums.ivanti.com/s/article/Obtaining-an-Apple-Developer-ID-Certificate-for-macOS-Provisioning?language=en_US&ui-force-components-controllers-recordGlobalValueProvider.RecordGvp.getRecord=1
385+
# Must copy the app w/ ditto, into a target dir structure including the destination location, eg. /Applications/SLIP-39.app/...
384386
#
385387
dist/SLIP-39-$(VERSION).pkg: dist/SLIP-39.app
388+
rm -rf /tmp/SLIP-39
389+
ditto $< /tmp/SLIP-39/Applications/SLIP-39.app
386390
productbuild --sign "$(PKGID)" --timestamp \
387391
--identifier "$(BUNDLEID).pkg" \
388392
--version $(VERSION) \
389-
--component $< /Applications \
390-
$@
393+
--root /tmp/SLIP-39/Applications/ / $@
391394

392395

393396
# Confirm that the .pkg is signed w/ the correct certificates.

SLIP-39-macOS.spec

Lines changed: 47 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -6,55 +6,51 @@ datas += collect_data_files('shamir_mnemonic')
66
datas += collect_data_files('slip39')
77

88

9-
block_cipher = None
9+
a = Analysis(
10+
['SLIP-39.py'],
11+
pathex=[],
12+
binaries=[],
13+
datas=datas,
14+
hiddenimports=['slip39'],
15+
hookspath=[],
16+
hooksconfig={},
17+
runtime_hooks=[],
18+
excludes=[],
19+
noarchive=False,
20+
)
21+
pyz = PYZ(a.pure)
1022

11-
12-
a = Analysis(['SLIP-39.py'],
13-
pathex=[],
14-
binaries=[],
15-
datas=datas,
16-
hiddenimports=['ipaddress'],
17-
hookspath=[],
18-
hooksconfig={},
19-
runtime_hooks=[],
20-
excludes=[],
21-
win_no_prefer_redirects=False,
22-
win_private_assemblies=False,
23-
cipher=block_cipher,
24-
noarchive=False)
25-
pyz = PYZ(a.pure, a.zipped_data,
26-
cipher=block_cipher)
27-
28-
exe = EXE(pyz,
29-
a.scripts,
30-
[],
31-
exclude_binaries=True,
32-
name='SLIP-39',
33-
debug=False,
34-
bootloader_ignore_signals=False,
35-
strip=False,
36-
upx=True,
37-
console=False,
38-
disable_windowed_traceback=False,
39-
target_arch=None,
40-
codesign_identity='Developer ID Application: Perry Kundert (ZD8TVTCXDS)',
41-
entitlements_file='./SLIP-39.metadata/entitlements.plist' )
42-
coll = COLLECT(exe,
43-
a.binaries,
44-
a.zipfiles,
45-
a.datas,
46-
strip=False,
47-
upx=True,
48-
upx_exclude=[],
49-
name='SLIP-39')
50-
app = BUNDLE(coll,
51-
name='SLIP-39.app',
52-
icon='images/SLIP-39.icns',
53-
version='11.0.2',
54-
info_plist={
55-
'CFBundleVersion':'11.0.2',
56-
'CFBundlePackageType':'APPL',
57-
'LSApplicationCategoryType':'public.app-category.finance',
58-
'LSMinimumSystemVersion':'10.15.0',
59-
},
60-
bundle_identifier='ca.kundert.perry.SLIP39')
23+
exe = EXE(
24+
pyz,
25+
a.scripts,
26+
a.binaries,
27+
a.datas,
28+
[],
29+
name='SLIP-39',
30+
debug=False,
31+
bootloader_ignore_signals=False,
32+
strip=False,
33+
upx=True,
34+
upx_exclude=[],
35+
runtime_tmpdir=None,
36+
console=False,
37+
disable_windowed_traceback=False,
38+
argv_emulation=False,
39+
target_arch=None,
40+
codesign_identity='DDB5489E29389E9081E0A2FD83B6555D1B101829',
41+
entitlements_file='./SLIP-39.metadata/entitlements.plist',
42+
)
43+
app = BUNDLE(
44+
exe,
45+
name='SLIP-39.app',
46+
icon='images/SLIP-39.icns',
47+
version='11.0.2',
48+
info_plist={
49+
'CFBundleVersion':'11.0.2',
50+
'CFBundlePackageType':'APPL',
51+
'LSApplicationCategoryType':'public.app-category.utilities',
52+
'LSMinimumSystemVersion':'10.15.0',
53+
'NSHumanReadableCopyright':"Copyright © 2023 Perry Kundert.",
54+
},
55+
bundle_identifier='ca.kundert.perry.SLIP39',
56+
)

SLIP-39.metadata/entitlements.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<!--
56
<key>com.apple.security.app-sandbox</key> <true/>
7+
-->
68
<key>com.apple.security.files.user-selected.read-write</key> <true/>
79
<!-- These are required for binaries built by PyInstaller -->
810
<key>com.apple.security.cs.allow-jit</key> <true/>

0 commit comments

Comments
 (0)