Skip to content

Fix Windows executable and update environment dependencies#44

Open
XingjiaYang wants to merge 5 commits into
JJTech0130:mainfrom
XingjiaYang:main
Open

Fix Windows executable and update environment dependencies#44
XingjiaYang wants to merge 5 commits into
JJTech0130:mainfrom
XingjiaYang:main

Conversation

@XingjiaYang

Copy link
Copy Markdown

Summary

This PR addresses two main issues:

  1. Windows executable fix

    • Rebuilt the Windows .exe with PyInstaller.
    • Fixed missing package metadata issues for readchar, inquirer3, blessed, and pymobiledevice3.
    • Suppressed unnecessary blessed terminal warnings (ssupm) on Windows.
    • Verified that the executable launches correctly and reaches the app selection prompt.
  2. Environment dependency update

    • Pinned all major dependencies in requirements.txt to fixed versions for reproducible builds.
    • Excluded platform-incompatible packages (uvloop, lzfse, sslpsk-pmd3) on Windows.
    • Added explicit instructions to use Python 3.12.3 with .venv, and not to use modern environment managers such as uv or conda.

Changes

  • Updated requirements.txt with pinned versions and platform-specific exclusions.
  • Updated README/Usage instructions to specify Python version and .venv workflow.
  • Rebuilt TrollRestore.exe for Windows.

Notes

  • Users can now run the Windows executable directly without installing Python.
  • Developers should use .venv with Python 3.12.3 to reproduce builds.
  • The blessed warning about ssupm is suppressed and does not affect functionality.

XingjiaYang and others added 5 commits June 3, 2026 09:29
Added a note to use Python 3.12.3 for compatibility.
Updated usage instructions for running the script and emphasized the use of a fixed Python version.
Added warning filter to suppress unnecessary warnings on Windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant