Skip to content

Commit 52157a5

Browse files
authored
Finalize full refactor of affinity-cli — new modular architecture, CLI, installer discovery, and Wine backend
This merge delivers the first complete, production-ready version of affinity-cli. Key changes: - Replaced placeholder commands with a full Click-based CLI. - Added modular architecture: config loader, installer discovery, Wine executor, and unified main entrypoint. - Implemented automatic detection of Affinity installers (v1/v2) with intelligent version preference. - Added runtime config support with validation (paths, prefixes, version overrides). - Implemented Wine execution layer with silent mode, dry-run, and detailed logging. - Reworked README with clear user guidance, examples, installer placement, and legal notes. - Added unit tests for config handling and installer selection. - Removed outdated/unused modules and streamlined project structure. This marks the foundation for future features: Proton integration, desktop entry generation, richer status reporting, multi-prefix support, and extended automation.
2 parents ebadd37 + 6fd11bc commit 52157a5

30 files changed

+550
-4619
lines changed

README.md

Lines changed: 74 additions & 687 deletions
Large diffs are not rendered by default.

affinity_cli/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
"""
2-
Affinity CLI - Universal Linux Installer for Affinity Products
3-
Professional one-command installation for Affinity Photo, Designer, and Publisher
4-
"""
1+
"""Affinity CLI package metadata."""
52

6-
__version__ = "1.0.0-beta"
3+
__version__ = "1.1.0"
74
__author__ = "ind4skylivey"
85
__license__ = "MIT"

affinity_cli/commands/__init__.py

Whitespace-only changes.

affinity_cli/commands/install.py

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

0 commit comments

Comments
 (0)