mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 01:27:11 +00:00
7d163a16bf
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.
Legacy Scripts
This folder contains the older installation scripts (v1.x) that have been superseded by the new ALL-IN-ONE scripts.
💡 Recommendation: Use the new unified scripts instead:
betterdesk.sh(Linux)betterdesk.ps1(Windows)betterdesk-docker.sh(Docker)
Available Legacy Scripts
| Script | Version | Platform | Description |
|---|---|---|---|
install-improved.sh |
v1.5.5 | Linux | Full installation with migrations |
install-improved.ps1 |
v1.5.2 | Windows | Full installation with migrations |
install-docker.sh |
v1.0 | Docker | Docker Compose deployment |
docker-quickstart.sh |
v1.0 | Docker | Quick Docker setup |
fix-admin.sh |
v1.0 | Docker (Linux) | Fix admin account |
fix-admin.bat |
v1.0 | Docker (Windows) | Fix admin account |
Usage
These scripts still work but lack the interactive menu and some newer features:
# Linux
sudo ./scripts/legacy/install-improved.sh
# Windows (PowerShell as Admin)
.\scripts\legacy\install-improved.ps1
# Diagnostics (Linux)
sudo ./scripts/legacy/install-improved.sh --diagnose
# Fix offline status (Linux)
sudo ./scripts/legacy/install-improved.sh --fix
Why Use New Scripts?
The new ALL-IN-ONE scripts (betterdesk.*) offer:
- Interactive menu with all operations in one place
- Backup functionality
- Admin password reset
- Binary building from source
- Comprehensive diagnostics
- Uninstall option
Migration
To migrate from legacy to new scripts, simply run the new script - it will detect your existing installation and offer appropriate options.