@@ -446,7 +446,7 @@ dist/SLIP-39.app-checkids: SLIP-39.spec
446446# - Find each dependent key, and look at its SHA fingerprint, and then see if you have
447447# that one in your System keychain, downloading all the named keys from apple 'til
448448# you find the one with the matching fingerprint. Grr... Repeat 'til check-signature works.
449- dist/SLIP-39.app : SLIP-39.spec \
449+ dist/SLIP-39.app : SLIP-39-macOS .spec \
450450 SLIP-39.metadata/entitlements.plist \
451451 images/SLIP-39.icns
452452 @echo " \n\n*** Rebuilding $@ , version $( VERSION) ..."
@@ -492,7 +492,7 @@ dist/SLIP-39.app: SLIP-39.spec \
492492# +
493493# bundle_identifier='ca.kundert.perry.SLIP39')
494494
495- SLIP-39.spec : SLIP-39.py
495+ SLIP-39-macOS .spec : SLIP-39.py
496496 @echo " \n\n!!! Rebuilding $@ ; Must be manually edited..."
497497 pyinstaller --noconfirm --windowed --onefile \
498498 --codesign-identity " $( DEVID) " \
@@ -502,6 +502,23 @@ SLIP-39.spec: SLIP-39.py
502502 --hidden-import slip39 \
503503 --collect-data slip39 \
504504 $<
505+ mv SLIP-39.spec $@
506+ @echo " !!! Regenerated $@ : must be manually corrected!"
507+ false # Make the build fail if we've regenerated the .spec
508+
509+
510+ dist/SLIP-39.exe : SLIP-39-win32.spec
511+ rm -rf build $@
512+ pyinstaller --noconfirm $<
513+
514+ SLIP-39-win32.spec : SLIP-39.py
515+ @echo " \n\n!!! Rebuilding $@ ; Must be manually edited..."
516+ pyinstaller --noconfirm --windowed --onefile \
517+ --collect-data shamir_mnemonic \
518+ --hidden-import slip39 \
519+ --collect-data slip39 \
520+ $<
521+ mv SLIP-39.spec $@
505522 @echo " !!! Regenerated $@ : must be manually corrected!"
506523 false # Make the build fail if we've regenerated the .spec
507524
0 commit comments