Skip to content

feat: ADB version tracking and release workflow docs - #4

Merged
KasperRagnar merged 2 commits into
masterfrom
feature/adb-localappdata-version-tracking
Apr 27, 2026
Merged

KasperRagnar merged 2 commits into
masterfrom
feature/adb-localappdata-version-tracking

Conversation

@KasperRagnar

Copy link
Copy Markdown
Owner

What changed

  • src/adbPath.ts — ADB extraction now compares the version bundled at build time (bin/adb-version.txt) against a stamp written alongside the extracted binary. If they differ, the binary is re-extracted. This means end users automatically get an updated ADB after installing a new app version, instead of silently reusing a stale binary.

  • package.json — bumped to 0.4.0 to follow the new convention: master always carries a version one step ahead of the latest release (v0.3.0 was the last release).

  • README.md — added two new developer sections:

    • Updating the bundled ADB version — explains that bin/ must be deleted before re-running setup to force a fresh download.
    • Release workflow — documents that master must always be one version ahead of the latest release, and the steps to cut a release branch and bump master afterward.

KasperRagnar and others added 2 commits April 26, 2026 03:15
Moves the ADB binary extraction target from %TEMP%/amc-adb-bin to the
user's app-data directory (%LOCALAPPDATA%\AMC\adb on Windows,
~/Library/Application Support/AMC/adb on macOS, ~/.local/share/AMC/adb
on Linux). This reduces antivirus false positives, survives disk-cleanup
runs, and keeps the ADB daemon path stable across sessions.

Also captures the bundled ADB version string to bin/adb-version.txt
during npm run setup, so the release workflow can surface it in the
GitHub release notes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e flow

- adbPath.ts now compares the bundled bin/adb-version.txt against a
  stamp in the app-data extract dir; re-extracts on version mismatch so
  end users automatically get a newer ADB after an app update
- package.json bumped to 0.4.0 (post-release master convention)
- README: documents how to update the bundled ADB and the release
  versioning workflow (master always one version ahead of latest release)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@KasperRagnar
KasperRagnar merged commit 9062af3 into master Apr 27, 2026
1 check passed
@KasperRagnar
KasperRagnar deleted the feature/adb-localappdata-version-tracking branch April 27, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant