13 Commits

Author SHA1 Message Date
Thomas Farstrike f339979440 Reduce debug 2026-02-25 15:40:36 +01:00
Richard a1478080b1 Clean up existing install before extracting .mpk (#55)
install_mpk() would fail with EEXIST if the destination folder already
existed from a previous (possibly partial) install, or if a dangling
symlink occupied the path (e.g. a dev symlink whose target was removed).

Before extracting, now remove the destination if it is:
- A real directory (via shutil.rmtree)
- A regular file (via os.remove)
- A symlink, including broken ones (via os.remove as a fallback)

This enables clean reinstalls, updates, and recovery from failed
installs.

Co-authored-by: Richard Taylor <RT@MacBookPro.lan>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 07:42:04 +01:00
Thomas Farstrike 52972b4beb Replace binary logging with source copy 2026-01-26 14:50:18 +01:00
Thomas Farstrike a2ffd35997 Eliminate traceback library 2026-01-25 00:30:01 +01:00
Thomas Farstrike c2ae169638 Rename PackageManager to AppManager 2026-01-25 00:19:38 +01:00
Thomas Farstrike 31dcfba683 Move mpos.apps functionality to PackageManager 2026-01-25 00:08:01 +01:00
Thomas Farstrike 58157bc3f3 Comments 2025-11-14 11:51:15 +01:00
Thomas Farstrike bae7fb057a Add auto_start_app setting 2025-11-12 11:56:16 +01:00
Thomas Farstrike f6fb647172 unittest.sh: make sure binary is executable 2025-11-02 14:04:16 +01:00
Thomas Farstrike 0d2afb6f70 PackageManager: add unit tests 2025-11-02 13:28:29 +01:00
Thomas Farstrike 60a3f75ce2 Rename pm.py to package_manager.py 2025-11-01 07:49:58 +01:00
Thomas Farstrike 163511f8d6 Dependency hell 2025-10-30 13:03:19 +01:00
Thomas Farstrike 4f575273fc Refactor app structure 2025-10-30 11:42:42 +01:00