feat: add installation scripts and update documentation for downloading WebDrop Bridge releases
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions
Some checks are pending
Tests & Quality Checks / Test on Python 3.11 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-1 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.10 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.11-2 (push) Waiting to run
Tests & Quality Checks / Test on Python 3.12-2 (push) Waiting to run
Tests & Quality Checks / Build Artifacts (push) Blocked by required conditions
Tests & Quality Checks / Build Artifacts-1 (push) Blocked by required conditions
This commit is contained in:
parent
6d052e221b
commit
1dcce081f1
5 changed files with 690 additions and 1 deletions
|
|
@ -108,7 +108,75 @@ tox -e type
|
|||
tox
|
||||
```
|
||||
|
||||
### Building
|
||||
### Installing from Release (wget)
|
||||
|
||||
Download pre-built installers from Forgejo releases using **wget** (useful for enterprise deployments, automated scripts, or initial setup before the built-in update mechanism):
|
||||
|
||||
#### Simplest: Direct wget (if you know the version)
|
||||
|
||||
```bash
|
||||
# Replace VERSION with release tag (e.g., v0.8.0)
|
||||
wget https://git.him-tools.de/HIM-public/webdrop-bridge/releases/download/VERSION/WebDropBridge_Setup.msi
|
||||
|
||||
# Real example - download v0.8.0 MSI
|
||||
wget https://git.him-tools.de/HIM-public/webdrop-bridge/releases/download/v0.8.0/WebDropBridge_Setup.msi
|
||||
|
||||
# macOS - download v0.8.0 DMG
|
||||
wget https://git.him-tools.de/HIM-public/webdrop-bridge/releases/download/v0.8.0/WebDropBridge_Setup.dmg
|
||||
```
|
||||
|
||||
#### Windows (PowerShell) - Full Control Script
|
||||
|
||||
```powershell
|
||||
# Download latest release
|
||||
.\build\scripts\download_release.ps1
|
||||
|
||||
# Download to specific directory
|
||||
.\build\scripts\download_release.ps1 -OutputDir "C:\Installers"
|
||||
|
||||
# Download specific version
|
||||
.\build\scripts\download_release.ps1 -Version "0.8.0"
|
||||
|
||||
# Skip checksum verification
|
||||
.\build\scripts\download_release.ps1 -Verify $false
|
||||
```
|
||||
|
||||
**Prerequisites**: `wget` (install via `choco install wget` or `winget install GNU.Wget`)
|
||||
|
||||
#### macOS / Linux (Bash) - Full Control Script
|
||||
|
||||
```bash
|
||||
# Download latest release to current directory
|
||||
./build/scripts/download_release.sh
|
||||
|
||||
# Download to specific directory
|
||||
./build/scripts/download_release.sh latest ~/Downloads
|
||||
|
||||
# Download specific version
|
||||
./build/scripts/download_release.sh 0.8.0
|
||||
|
||||
# Skip checksum verification
|
||||
./build/scripts/download_release.sh latest --no-verify
|
||||
```
|
||||
|
||||
**Prerequisites**: `wget` (install via `brew install wget` on macOS or `apt-get install wget` on Linux)
|
||||
|
||||
#### Alternative Methods
|
||||
|
||||
**With checksum verification (grep/cut, no jq required):**
|
||||
|
||||
```bash
|
||||
# Get latest and download with automatic checksum verification
|
||||
wget -qO- https://git.him-tools.de/api/v1/repos/HIM-public/webdrop-bridge/releases/latest | \
|
||||
grep -o '"browser_download_url":"[^"]*\.\(msi\|dmg\)"' | head -1 | cut -d'"' -f4 | \
|
||||
xargs wget -O installer.msi
|
||||
```
|
||||
|
||||
**Via web browser:**
|
||||
|
||||
Simply visit https://git.him-tools.de/HIM-public/webdrop-bridge/releases and download directly
|
||||
|
||||
### Building from Source
|
||||
|
||||
```bash
|
||||
# Windows MSI
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue