Skip to content

CryptoPad 0.2.3

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Sep 13:19

๐ŸŽฎ CryptoPad v0.2.3 โ€” Standalone Stability & PyInstaller Runtime Fixes

CryptoPad v0.2.3 resolves critical startup and runtime errors present in standalone executables. It fixes the missing Flask-SocketIO Engine.IO threading driver and bundles the missing datetime logger module, ensuring that CryptoPad.exe launches instantly and operates reliably without requiring any local Python installation.


๐Ÿ› ๏ธ Bug Fixes & Stability Improvements

1. ๐Ÿ”Œ Engine.IO Threading Driver Bundling

  • Fixed Startup Crash: Resolves ValueError: Invalid async_mode specified when initializing SocketIO(app, cors_allowed_origins="*", async_mode='threading').
  • Automatic Driver Inclusion: Because python-engineio dynamically loads drivers at runtime via importlib.import_module('engineio.async_drivers.' + mode), PyInstaller previously omitted it from standalone builds.
  • Top-Level Driver Import: Added import engineio.async_drivers.threading to CryptoPad.py and updated build configurations with --hidden-import "engineio.async_drivers.threading".

2. ๐Ÿ“ Missing datetime Logger Module Fix

  • Fixed Startup Crash: Resolves NameError: name 'datetime' is not defined inside App.log(), which previously caused the application window to crash on initialization when writing the startup banner to the console.
  • Explicit Import Added: Imported datetime at the top level of CryptoPad.py.

3. โšก WebSocket Backend & Packaging Modernization

  • Explicit WebSocket Dependency: Added simple-websocket>=1.0.0 to requirements.txt and CryptoPad.spec for low-latency WebSocket streaming.
  • Spec & Asset Bundling: Added templates and static directories to PyInstaller datas and bundled the application icon (icon.ico).
  • Python 3.12+ Syntax Compatibility: Converted docstrings to raw string format (r"""...""") to eliminate SyntaxWarning: invalid escape sequence '\C'.

๐Ÿ“ฆ Standalone Executable Download

Asset Size Operating System Description
CryptoPad.exe ~29 MB Windows 10 / 11 (64-bit) Standalone portable executable. No Python installation required.

๐Ÿš€ Quick Start

  1. Download and run CryptoPad.exe.
  2. Connect your Xbox, PlayStation, or Switch controller.
  3. Select your desired skin from the Template dropdown.
  4. Copy the OBS URL (http://localhost:5001) and paste it into an OBS Studio Browser Source (Width: 800, Height: 600).

Full Changelog: 0.2.2...0.2.3