From 28edc9966da86d66d636c6b2582451519ca74746 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Thu, 6 Aug 2026 08:27:35 +0800 Subject: [PATCH] xpkg 0.0.51: payload-first tool resolution + relocate_build_paths openxlings/libxpkg#35. Two changes, one rule: when libxpkg needs a tool it resolves the payload rather than a view, and when it transforms a payload it asserts the result rather than the intent. The CN asset is a byte-identical copy of the GitHub tag tarball, verified by downloading both and comparing sha256 (GET, not HEAD -- gitcode HEADs 401). --- pkgs/x/xpkg.lua | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/pkgs/x/xpkg.lua b/pkgs/x/xpkg.lua index f44df2f..9d16618 100644 --- a/pkgs/x/xpkg.lua +++ b/pkgs/x/xpkg.lua @@ -12,6 +12,13 @@ package = { xpm = { linux = { + ["0.0.51"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.51.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.51/xpkg-0.0.51.tar.gz", + }, + sha256 = "d347eabb5c04433bfd9c9dfdfe52cf2a24eac6836e44721eebf21f7d3ca9b738", + }, ["0.0.50"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.50.tar.gz", @@ -91,6 +98,13 @@ package = { }, }, macosx = { + ["0.0.51"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.51.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.51/xpkg-0.0.51.tar.gz", + }, + sha256 = "d347eabb5c04433bfd9c9dfdfe52cf2a24eac6836e44721eebf21f7d3ca9b738", + }, ["0.0.50"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.50.tar.gz", @@ -170,6 +184,13 @@ package = { }, }, windows = { + ["0.0.51"] = { + url = { + GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.51.tar.gz", + CN = "https://gitcode.com/mcpp-res/xpkg/releases/download/0.0.51/xpkg-0.0.51.tar.gz", + }, + sha256 = "d347eabb5c04433bfd9c9dfdfe52cf2a24eac6836e44721eebf21f7d3ca9b738", + }, ["0.0.50"] = { url = { GLOBAL = "https://github.com/openxlings/libxpkg/archive/refs/tags/0.0.50.tar.gz",