- Translate Polish texts to English in client_generator.html and .js
- Add new API endpoints v2 for better client generation
- Improve platform name normalization in client_generator_module.py
- Enable Client Generator link in sidebar (was disabled as DEV)
- Add alternative filename patterns for different RustDesk versions
- Add support for linux-arm64 and macos-arm64 platforms
- Added SHA256 checksum verification for all binaries
- Added --auto/-Auto flag for non-interactive installation
- Added --skip-verify/-SkipVerify to bypass verification
- Updated systemd services with correct API port (21120)
- Added API_PORT environment variable support
- Improved service templates with documentation links
- Updated VERSION to 2.1.1
- Compiled hbbs and hbbr for Windows x64 with all v2.1.1 features
- Now includes: /api/peers/:id/change-id endpoint
- Same features as Linux binaries
- Built natively on Windows with Rust 1.90.0
New checksums:
- hbbs-windows: 682AA117AEEC8A6408DB4462BD31EB9DE943D5F70F5C27F3383F1DF56028A6E3
- hbbr-windows: B585D077D5512035132BBCE3CE6CBC9D034E2DAE0805A799B3196C7372D82BEA
- Updated Linux binaries (hbbs 10MB, hbbr 4.8MB) from production server
- Fixed .gitignore to not exclude pre-compiled .exe files
- Updated CHECKSUMS.md with new SHA256 hashes
New checksums:
- hbbs-linux: 2B6C475A449ECBA3786D0DB46CBF4E038EDB74FC
- hbbr-linux: 507DC4DFDF118DBE9450DA0D7CCE4A5989D93086
Introduce BetterDesk v2.0.0 by adding interactive ALL‑IN‑ONE installer/manager scripts for Docker, Linux and Windows (betterdesk-docker.sh, betterdesk.sh, betterdesk.ps1). Bump VERSION to 2.0.0 and update README and .github/copilot-instructions.md to document the new workflows and quickstart. Move older helpers into scripts/legacy/, add a legacy README and adjust template paths. The new docker script includes compose generation, image build/start/stop, backup/restore, repair/validation, admin password management, diagnostics and uninstall routines.
Add a full automated build pipeline, interactive build scripts, documentation and development utilities.
- Add GitHub Actions workflow (.github/workflows/build.yml) to build BetterDesk (hbbs/hbbr) for Linux x64, Linux ARM64 and Windows x64, upload artifacts, optionally create a release and update repository binaries.
- Add interactive build scripts for Windows and Unix (build-betterdesk.ps1, build-betterdesk.sh) supporting download, patch application, cross-build and checksum generation.
- Add build and status docs (docs/BUILD_GUIDE.md, docs/STATUS_TRACKING_v3.md) and update project README/instructions (.github/copilot-instructions.md) with new items and updated timestamp.
- Add development utilities under dev_modules/ (multiple database/patch/test helpers) and move test_generator.py into dev_modules/test_generator.py.
- Update .gitignore to exclude archive/ folder.
- Modify hbbs-patch-v2 sources (database.rs, http_api.rs, main.rs, peer.rs and add rendezvous_server.rs) and remove legacy fixed files; update web UI backend and static files (web/app.py, web/static/*, web/templates/index.html).
These changes set up CI/CD for multi-platform builds, provide local build tooling, expand docs for v3 status tracking and ID-change features, and add developer test/patch utilities.
Introduce automatic database migrations and auth table creation across installers, update documentation and docker entrypoint.
Changes include:
- Docs: update installation guidance, mark primary installers (install-improved.sh/.ps1) as recommended, clarify Docker usage, add troubleshooting flags and note about automatic DB migrations.
- install-improved.ps1: bump to v1.5.2; add Invoke-DatabaseMigration which runs an embedded Python migration to add required peer columns, create users/sessions/audit_log tables, and run during install and after -Fix.
- install-improved.sh: add creation of a "note" column in the peer table as part of run_database_migration (schema hardening for new fields).
- docker-entrypoint.sh: perform safe schema checks and ALTERs for peer columns, create indexes, ensure authentication tables and default admin user are present; improved logging and idempotent migration behavior.
Purpose: make installs and upgrades more robust by automatically bringing existing SQLite schemas up to date, provisioning auth infrastructure, and documenting the recommended installation flows and recovery options.
Update Dockerfiles and compose to use local BetterDesk (hbbs-patch-v2) binaries, avoid pulling unpublished images, and improve build reliability. Dockerfile.hbbr/hbbs now copy patched binaries, set executable symlinks and run the BetterDesk binaries by default. Dockerfile.console adds DNS fallback entries to mitigate resolver failures during build. docker-compose.yml sets image names and pull_policy: never and runs the enhanced binaries directly. Documentation updated (DOCKER_TROUBLESHOOTING.md, README, .github/copilot-instructions.md) with troubleshooting steps for "no such table: peer", pull access denied, and DNS build issues.
Normalize console output in install-improved.ps1 by replacing Unicode symbols and bullets with ASCII equivalents for improved compatibility and readability. Replaced ✓/✗/⚠/ℹ/• markers with [OK]/[ERROR]/[WARN]/[INFO]/- and changed feature checkmarks to [+]. No functional changes to installation logic.
Add an offline-diagnosis script and Copilot guidelines, update Docker flow to require local image builds, and promote hbbs-patch-v2 binaries with checksums.
Highlights:
- New dev_modules/diagnose_offline_status.sh to detect and fix "all devices offline" issues.
- Added .github/copilot-instructions.md with project state and build guidelines for Copilot.
- Emphasized local Docker builds in DOCKER_SUPPORT.md, DOCKER_TROUBLESHOOTING.md, docker-compose.yml and docker-quickstart.sh (replace pull with build/rebuild).
- Updated docs/TROUBLESHOOTING_EN.md and README to document offline-status causes/fixes and Windows/Linux v2 binaries (API port 21114).
- Added hbbs-patch-v2 Windows binaries, updated CHECKSUMS.md, and removed legacy hbbs-patch v1 files.
- Bumped VERSION to 1.5.5 and adjusted installer scripts (install-improved.sh/ps1) accordingly.
These changes improve diagnostics, clarify deployment (Docker/local builds), and roll out the v2 BetterDesk server binaries with verification info.
Added logic to stop RustDesk-related systemd services before updating binaries to prevent 'Text file busy' errors. Services are stopped, a short delay is introduced, and a message is printed to indicate services will be restarted after the update.
Introduces pre-compiled v2.0.0 binaries (hbbs/hbbr) with improved performance and HTTP API on port 21120. Updates README, CHANGELOG, and install script to prioritize v2 binaries, adds systemd service templates, and enhances documentation for new features and migration steps.
Marked hbbs-patch/bin-with-api as deprecated in CHECKSUMS.md, providing clear migration instructions and highlighting known issues. Updated install-improved.sh to prioritize hbbs-patch-v2 binaries, warn users about old binaries, prompt for confirmation before using outdated versions, and improve detection and messaging around binary versions and their issues.
Enhanced both fix_systemd_services.sh and install-improved.sh to better handle missing ExecStart lines, robustly detect and update service binaries to API-enabled versions, and provide clearer status and backup information. The scripts now create timestamped backups, handle more edge cases, and give improved user feedback for manual intervention if needed.
Introduces automatic detection and update of RustDesk systemd service files to use API-enabled binaries (hbbs-v8-api, hbbr-v8-api) during installation. Adds dev_modules/fix_systemd_services.sh for manual service correction, improves service restart logic to handle multiple naming conventions, and updates documentation and changelogs to reflect these critical changes.
Renamed versioned files (app_v14.py, script_v15.js, index_v15.html) to generic names (app.py, script.js, index.html) and updated all references accordingly. Added missing columns (updated_at, deleted_at) to the peer table and improved database schema checks and fixes in scripts. Introduced fix_peer_columns.sh for quick peer table repair, enhanced Python dependency installation logic, and updated documentation to reflect these changes. Removed obsolete deployment script and incremented version to v1.5.2.
Introduced check_and_fix_database.sh for automated database schema validation and repair, including admin user creation and backup. Updated audit_log table schema in install-improved.sh and web/auth.py to use device_id and timestamp fields, ensuring consistency across scripts and database migrations. Updated documentation to reflect the new script and usage.
Enhances the database migration script to verify and update the sessions table structure. The script now checks for the correct primary key, adds the last_activity column if missing, and recreates the table if the structure is outdated, ensuring consistency and referential integrity.
Introduced Dockerfile.hbbs and Dockerfile.hbbr to build BetterDesk HBBS and HBBR images based on busybox for shell and tool support, improving troubleshooting and healthchecks. Updated docker-compose.yml to use these custom images. Expanded DOCKER_TROUBLESHOOTING.md with guidance on shell availability and migration steps.
Expanded RustDesk installation path detection in install-improved.sh, added user prompt for missing paths, and improved database search logic. In web/auth.py, added automatic authentication table initialization and default admin creation on first run. Improved error handling and logging in web/app_v14.py for login failures and made client generator import optional.
Clarified that the client generator feature is under development and not yet functional. Added a status warning, updated planned features, and improved section formatting for clarity.
Streamlined installation instructions for Docker, Linux, and Windows, removing redundant steps and feature lists. Clarified update and troubleshooting sections, consolidated admin credential recovery options, and removed outdated roadmap and changelog content for improved readability.
Removed obsolete v14 static and template files, and deleted legacy scripts and performance config. Added scripts/deploy_v15.sh for clean v15 deployment. Updated app_v14.py to support cache busting via version injection and cache headers. Updated documentation and troubleshooting to reflect new manual key permission steps and streamlined upgrade process. Bumped version to v1.5.1.
Resolved Docker bash and PowerShell function naming issues, updated Dockerfile and entrypoint script, and refactored install-improved.ps1 for compatibility. Added and translated extensive documentation for client generator, GPU optimization, troubleshooting, and quick fixes. Introduced new service and static files for performance profiles, and updated README with recent fixes and documentation links.
Enhanced install-improved.sh and docker-quickstart.sh to auto-detect RustDesk installations and support both fresh and update scenarios. Updated documentation and changelogs to reflect new installation logic, improved user prompts, and clarified migration steps. Docker and install scripts now handle fresh RustDesk setups, copying required files and setting up the BetterDesk Console automatically.
Watchtower has been removed from docker-compose.yml due to maintenance and security concerns. Updated README and troubleshooting documentation to provide safe manual update instructions and recommend modern alternatives such as Dependabot and Renovate for automated updates.
Introduces automatic database migration and admin account creation for Docker deployments via a new entrypoint script and updated Dockerfile. Adds troubleshooting documentation (DOCKER_TROUBLESHOOTING.md), quick-fix scripts (fix-admin.sh, fix-admin.bat), and updates README and docker-compose.yml with clear admin credential recovery instructions. Also includes minor improvements: health check endpoint, language tag fixes in HTML templates, and documentation updates.
Introduces full Docker support with docker-compose, quickstart, and installation scripts. Adds BetterDesk v2 patch source, build, and documentation files. Updates .gitignore for sensitive data, enhances Docker and update documentation, and improves troubleshooting and migration instructions in README. Also updates install scripts and adds new database migration scripts for v1.5.0.
Major update introducing authentication (bcrypt password hashing, role-based access, session tokens), new sidebar UI, user management, settings, and extended About page. API now uses X-API-Key authentication and is LAN-accessible. Updated installation and update scripts, added migration for auth system, and removed deprecated/archived documentation and scripts. Documentation and screenshots updated to reflect new features and security model.
Deleted IMPLEMENTATION_SUMMARY.md and docs/IMPLEMENTATION_v9.md, which summarized and detailed the v9 implementation. Updated README.md to note AI-assisted development. These changes clean up documentation and clarify the project's development process.
Introduces comprehensive encryption key protection, dynamic .pub file scanning, enhanced backup options, and improved Docker detection in the installer. Adds new documentation files (KEY_TROUBLESHOOTING.md, QUICK_FIX.md, RELEASE_NOTES_v9.md, IMPLEMENTATION_v9.md), a repair-keys.sh utility for key management and recovery, and updates README and VERSION to reflect v9 changes and troubleshooting guidance.
Added DOCKER_SUPPORT.md with guidance for Docker users. Updated install-improved.sh to detect running RustDesk Docker containers and warn users, providing Docker management instructions and an option to continue. Changed all documentation and scripts to reference the new repository name 'Rustdesk-FreeConsole' instead of 'BetterDesk-Console'.
Moved various documentation files (e.g., CHANGELOG.md, CONTRIBUTING.md, security and release notes) into the docs/ directory and updated references in README.md accordingly. Also deleted obsolete scripts (restore_hbbs.sh, update.sh) and removed top-level CHANGELOG.md and CONTRIBUTING.md, consolidating changelogs in docs/CHANGELOG.md.
Major security update: HTTP API now binds exclusively to localhost (127.0.0.1) on port 21120, eliminating network exposure and avoiding conflict with RustDesk Pro. Added --api-port parameter, updated all documentation, installation scripts, and web console to use the new port. Included new security and migration guides, updated binaries, and enhanced verification steps for secure deployment.