Skip to content

feat(apkstart): adapt manifest for Scoop lifecycle - #48

Merged
CYoJkoY merged 1 commit into
masterfrom
issue-47-apkstart-adaptation
Nov 22, 2026
Merged

CYoJkoY merged 1 commit into
masterfrom
issue-47-apkstart-adaptation

Conversation

@CYoJkoY

@CYoJkoY CYoJkoY commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Linked Issue

Closes #47

Change summary

  • Persist ApkStart's %APPDATA%\apkstart data under Scoop's persist\apkstart through a junction, including safe migration of existing data and a non-destructive blocked-file fallback.
  • Register .apk, .xapk, and .apks under HKCU with a stable ApkStart.apk ProgID, persist-backed icon, and a command targeting Scoop's current path.
  • Repair stale auto-start paths, remove dead ApkStart shortcuts, and refresh Explorer associations.
  • Preserve Scoop-owned state across upgrades, restore prior defaults on uninstall, and support --purge semantics without deleting an un-migrated data directory.

Verification & Dependencies

  • Invoke-Pester .\Scoop-Bucket.Tests.ps1: 39 passed, 0 failed.
  • JSON parsing and embedded post_install/pre_uninstall PowerShell parsing: 0 errors.
  • bin\formatjson.ps1 apkstart: byte-identical.
  • bin\checkver.ps1 -App apkstart -ForceUpdate: version 0.6.2, SHA-256 verified as aedd4ddb37e4b9d64527fe623e8fa64c80d2218e7b545b4c6b9d63b8724c86f3.
  • Local install/upgrade/uninstall/purge regression verified with a cached official portable archive; no GUI or Android runtime launch was performed.

Review conclusion

The manifest now treats ApkStart's large runtime/AVD data, Windows associations, versioned Scoop paths, and uninstall/upgrade lifecycle as first-class integration concerns. The change is ready for CI review.

Permission Notice

This PR changes only bucket/apkstart.json and uses per-user HKCU integration at install time; no administrator privileges are required for the documented associations and data junction.

@CYoJkoY

CYoJkoY commented Nov 22, 2026

Copy link
Copy Markdown
Owner Author

Autonomous Code Review Report - Round 1

Scope: bucket/apkstart.json and its embedded Scoop lifecycle hooks.

Findings:

  • P0: none.
  • P1: none.
  • P2: none.

Review notes:

  • Existing %APPDATA%\apkstart data is migrated item-by-item into Scoop persist; blocked files produce a warning and prevent junction creation without deleting data.
  • .apk, .xapk, and .apks are registered per-user, with the original default values captured once and restored only when ApkStart still owns the default.
  • The ProgID command targets apps\apkstart\current, while the icon is stored in persist, so version changes do not invalidate associations.
  • Upgrade detection keeps associations, persisted data, and application shortcuts intact during scoop update; uninstall removes only Scoop-owned state and leaves persisted data unless --purge is requested.
  • Process termination is constrained to paths below the ApkStart app root or persist root and does not terminate unrelated ADB/emulator processes.
  • Local install, upgrade, uninstall, purge, blocked-migration, shortcut cleanup, and stale auto-start checks passed; CI is running separately.

Score: 5.00/5.00
Conclusion: PASS - zero unresolved P0/P1/P2 findings.

@CYoJkoY
CYoJkoY merged commit 0322d84 into master Nov 22, 2026
4 checks passed
@CYoJkoY
CYoJkoY deleted the issue-47-apkstart-adaptation branch November 22, 2026 03:26
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.

Adapt ApkStart manifest for Scoop lifecycle and Windows integration

1 participant