Skip to content

Commit b826f05

Browse files
author
Максим Лясковский
committed
chore: remove legacy/ and one-shot icon build script
The Linux sources lived in legacy/ as a reference; they are still recoverable from git history at commit 33d8e36 and earlier, so keeping them duplicated in the working tree no longer adds value. scripts/build_icon.py was a one-shot tool used to convert the source PNG into the .icns. The .icns is committed and used by setup.py — the script itself does not need to live in the repo. Also fixed two stale .zip mentions in README that pre-dated the .dmg switchover.
1 parent b994b5b commit b826f05

9 files changed

Lines changed: 13 additions & 1467 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ and the project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.
1515
## [v2.0.0](https://github.com/AnyByte/LinkBridge/releases/tag/v2.0.0) — 2026-04-09 — macOS port
1616

1717
Initial macOS port release. Replaces the original Linux/ALSA implementation
18-
with a pure-Python macOS menu bar app. The Linux sources are archived under
19-
`legacy/` and are no longer maintained.
18+
with a pure-Python macOS menu bar app. The pre-port Linux sources remain
19+
available in git history at commit
20+
[`33d8e36`](https://github.com/AnyByte/LinkBridge/tree/33d8e36) and earlier.
2021

2122
### What's Changed
2223

README.md

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ The CI will then:
234234
- Bump the version strings in `linkbridge/__init__.py` and `setup.py`
235235
- Commit and tag the bump on `main` (`v2.1.0`)
236236
- Run the test suite
237-
- Build `LinkBridge.app` and zip it via `ditto`
237+
- Build `LinkBridge.app` and package it as a `.dmg` via `hdiutil`
238238
- Create a **draft** GitHub Release with auto-generated notes (built from
239-
the conventional-commit history since the previous tag) and the
240-
`LinkBridge-v2.1.0.zip` attached
239+
the pull request history since the previous tag) and the
240+
`LinkBridge-v2.1.0.dmg` attached
241241

242242
Find the draft release on the
243243
[Releases page](https://github.com/AnyByte/LinkBridge/releases), edit the
@@ -257,26 +257,14 @@ release section to [`CHANGELOG.md`](CHANGELOG.md) via
257257
from the pull requests merged since the previous tag using GitHub's
258258
release-notes API.
259259

260-
## Regenerating the app icon
260+
## Original Linux implementation
261261

262-
The icon source is `assets/icon.png` (1024×1024). To rebuild the
263-
`assets/LinkBridge.icns` file from a fresh source PNG:
264-
265-
```bash
266-
.venv-probe/bin/pip install Pillow # or any venv with Pillow available
267-
python3 scripts/build_icon.py
268-
```
269-
270-
The script flood-fills the white background to transparent, crops to the
271-
non-transparent bbox, generates all 10 macOS iconset sizes, and runs
272-
`iconutil` to produce the final `.icns`.
273-
274-
## Legacy Linux implementation
275-
276-
The original ALSA / C Linux implementation lives in `legacy/` for
277-
reference and is not maintained. If you want to run that on Linux, the
278-
build commands are at the top of `legacy/midi_clock_lib.c` — but the
279-
macOS port in this branch is the only thing actively developed.
262+
This project began as a Linux/ALSA application. The pre-port code is
263+
preserved in git history at commit
264+
[`33d8e36`](https://github.com/AnyByte/LinkBridge/tree/33d8e36) and any
265+
earlier ancestor. To run the Linux version, check out that commit:
266+
`git checkout 33d8e36`. The macOS port is the only thing actively
267+
developed from v2.0.0 onwards.
280268

281269
## License
282270

legacy/LinkBridge.service

Lines changed: 0 additions & 15 deletions
This file was deleted.

legacy/clock.py

Lines changed: 0 additions & 271 deletions
This file was deleted.

0 commit comments

Comments
 (0)