What is new in v1.1.0
Add a single-file Windows EXE so anyone can run the app with zero setup - no Python, no Node, no dependencies. Just double-click.
New
- ditiediantu.exe (8.2 MB) - single-file Windows executable
- launcher.py - the Python source that gets bundled into the EXE
- .gitignore - excludes build/, dist/, *.spec, pycaches, logs
How the EXE Works (built with PyInstaller 6.x)
- Bundles index.html, manifest.json, sw.js, offline.html, and 8 PNG icons
- Extracts them at runtime to a temp directory via sys._MEIPASS
- Auto-picks a free port in 8080-8089
- Starts a local HTTP server serving the bundled PWA
- Opens the user default browser after 3 seconds
- Console window shows URL + port + shutdown instructions
- Closes cleanly when the user closes the console
How to Use (30 seconds)
- Download ditiediantu-v1.1.0.exe below (8 MB)
- Double-click the EXE
- Wait 3 seconds - browser opens with the app
- Close the console window to stop
Test Results
- pyinstaller --onefile --console build: OK, 8.2 MB
- End-to-end run of the EXE: OK
- GET /: 200, 33,964 bytes
- GET /manifest.json: 200, 1,561 bytes
- GET /sw.js: 200, 3,948 bytes
- GET /icons/icon-192.png: 200, 2,837 bytes
- GET /missing: 404 (correct)
Compatibility
- Windows 7 SP1 / 8 / 10 / 11 (any x64)
- No installer needed
- No admin rights needed
- No Python needed
Built on top of v1.0.1.