mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-27 01:13:09 +00:00
weft-pack: - uninstall <app_id>: validates app ID, resolves store root, removes the installed package directory. Fails with an error if the package is not present or the app ID is malformed. - Extracted install_package_to(dir, root) and uninstall_package_from(app_id, root) inner functions so tests can drive them directly without touching process env vars (avoids parallel test env-var races). - install_package / uninstall_package remain the CLI-facing wrappers that call resolve_install_root(). Tests added (2): - install_package_copies_to_store: writes a valid temp package, calls install_package_to, verifies all files are present, confirms a second install fails. - uninstall_package_removes_directory: installs then uninstalls, verifies directory is removed, confirms a second uninstall fails. Both tests use process-ID-derived paths to avoid cross-test collisions. |
||
|---|---|---|
| .. | ||
| weft-appd | ||
| weft-build-meta | ||
| weft-compositor | ||
| weft-pack | ||
| weft-runtime | ||
| weft-servo-shell | ||