feat: Add icon generation script and update README with new functionality
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
032d9e6c31
commit
3f9fa06fbd
6 changed files with 204 additions and 17 deletions
|
|
@ -10,11 +10,36 @@ Automation scripts for building, releasing, and downloading WebDrop Bridge.
|
|||
| `download_release.sh` | Download installer from Forgejo via wget | macOS/Linux |
|
||||
| `build_windows.py` | Build Windows MSI installer | Windows |
|
||||
| `build_macos.sh` | Build macOS DMG installer | macOS |
|
||||
| `generate_icons.py` | Generate `.ico` + `.icns` from one PNG | All (macOS required for `.icns`) |
|
||||
| `create_release.ps1` | Create GitHub/Forgejo release | Windows |
|
||||
| `create_release.sh` | Create GitHub/Forgejo release | macOS/Linux |
|
||||
| `sync_remotes.ps1` | Sync git remotes | Windows |
|
||||
| `sync_version.py` | Manage version synchronization | All |
|
||||
|
||||
## Icon Generation
|
||||
|
||||
Use one master icon PNG and generate both platform formats:
|
||||
|
||||
```bash
|
||||
python build/scripts/generate_icons.py
|
||||
```
|
||||
|
||||
Defaults:
|
||||
- Source PNG: `resources/icons/app.png`
|
||||
- Windows icon: `resources/icons/app.ico`
|
||||
- macOS icon: `resources/icons/app.icns`
|
||||
|
||||
Generate only one format:
|
||||
|
||||
```bash
|
||||
python build/scripts/generate_icons.py --only ico
|
||||
python build/scripts/generate_icons.py --only icns
|
||||
```
|
||||
|
||||
Requirements:
|
||||
- `Pillow` for `.ico` generation (`pip install -r requirements-dev.txt`)
|
||||
- macOS `sips` + `iconutil` for `.icns`
|
||||
|
||||
## Download Scripts
|
||||
|
||||
### Purpose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue