diff --git a/README.md b/README.md index f63c41a..062c21b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Netflix style browsing of your local media archive. Supports keyboard, mouse and ## Getting Started - Windows: Download `*-win64-setup.exe` from the releases page and run it (no admin needed; auto-updates included). A `-win64-portable.zip` is also available. -- macOS: Download `*-macos-arm64-setup.pkg` and install (auto-updates included). +- macOS: Download `*-macos-setup.pkg` and install (auto-updates included). - Linux: Download the `.AppImage`, `chmod +x` it, and run. Alternatively install [UV](https://docs.astral.sh/uv/getting-started/installation/) and run directly with `uvx --from mediahive[gui] mediahive`. ## What It Does diff --git a/scripts/guibuild.py b/scripts/guibuild.py index c8d28ee..4ce041a 100755 --- a/scripts/guibuild.py +++ b/scripts/guibuild.py @@ -64,19 +64,13 @@ _VPK_STAGING = _build_cache_dir() / f"vpk-{_VPK_VERSION}" def _platform_zip_suffix() -> str: - machine = platform.machine().lower() - arch = { - "x86_64": "x64", - "amd64": "x64", - "arm64": "arm64", - "aarch64": "arm64", - }.get(machine, machine or "unknown") - + # Only Windows keeps an arch marker (win64); macOS is arm64-only and we + # build just one Linux flavor, so -macos / -linux suffice. if sys.platform == "win32": return "win64" if sys.platform == "darwin": - return f"macos-{arch}" - return f"linux-{arch}" + return "macos" + return "linux" def fetch_ffmpeg() -> Path: diff --git a/scripts/release.py b/scripts/release.py index d098b0f..39f0e14 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -68,7 +68,7 @@ def load_token() -> str: # --------------------------------------------------------------------------- # Matches MediaHive-1.2.3-win64-portable.zip, MediaHive-1.2.3-win64-setup.exe, -# MediaHive-1.2.3-macos-arm64-setup.pkg, MediaHive-1.2.3-linux-x64.AppImage, etc. +# MediaHive-1.2.3-macos-setup.pkg, MediaHive-1.2.3-linux-setup.AppImage, etc. # Rejects dev/dirty versions like MediaHive-1.2.3.dev0+gabcd-win64-portable.zip _CLEAN_ARTIFACT_RE = re.compile( r"^MediaHive-(\d+(?:\.\d+)*)-([A-Za-z0-9._-]+)\.(?:zip|dmg|exe|pkg|AppImage)$"