pymobiledevice3
pymobiledevice3 copied to clipboard
There is an error in the script for Windows computer packaging, and I have corrected it
trafficstars
PyInstaller.__main__.run([
'pymobiledevice_3.py',
'--hidden-import=ipsw_parser',
'--hidden-import=zeroconf',
'--hidden-import=pyimg4',
'--hidden-import=apple_compress',
'--hidden-import=zeroconf._utils.ipaddress',
'--hidden-import=zeroconf._handlers.answers',
'--hidden-import=readchar',
'--copy-metadata=pyimg4',
'--copy-metadata=readchar',
'--copy-metadata=apple_compress',
# '--add-data', f"{site_packages_path}/pytun_pmd3/*;pytun_pmd3", # There will be an error message where the DLL cannot be found
'--add-data', f"{site_packages_path}/pytun_pmd3;pytun_pmd3", # Just transfer the entire folder over
'--collect-submodules', 'pymobiledevice3',
'--onedir'
])
Please submit this as a PR. I have no way to test it currently. Also, if you'd like, you can even submit this as a github action so it'll be published automatically along with every release