Skip to content

v1.0.1 - One-click launchers (double-click to run)

Choose a tag to compare

@zhenyu666-debug zhenyu666-debug released this 05 Jul 01:43

What is New in v1.0.1

Add double-click launcher files so anyone can run the app without touching a terminal.

New Files

  • start.bat - Windows (double-click)
  • start.py - Cross-platform Python (double-click)
  • start.sh - Linux (chmod +x, run from terminal)
  • start.command - macOS (double-click)

Launcher Behavior

  • Detects Python automatically (py -3 / python3 / python)
  • Auto-selects a free port in 8080-8089
  • Opens your default browser 3 seconds after server start
  • Shows clear status (URL, port, instructions)
  • Close the launcher window to stop the server

Test Results

  • start.bat: syntax-checked in cmd
  • start.py: ast.parse OK, end-to-end run tested - all 13 PWA endpoints returned 200, missing resource returned 404
  • start.sh, start.command: bash syntax-checked

How to Use

  1. Download ditiediantu-v1.0.1.zip below (or any source archive)
  2. Extract
  3. Double-click the appropriate launcher:
    • Windows: start.bat
    • macOS: start.command
    • Linux: ./start.sh
    • Cross-platform: start.py

No terminal required.

Note

If Python is not installed, the launcher will print install instructions. Download Python 3.6+ from https://www.python.org/downloads/ (check Add Python to PATH during install).


Built on top of v1.0.0 (same index.html, manifest.json, sw.js, 8 icons).