From 883983adb9724cb36796fdba8e57ecad454a0d3f Mon Sep 17 00:00:00 2001 From: Yagz <4955479+Yagz@users.noreply.github.com> Date: Sat, 21 Nov 2026 16:12:17 +0100 Subject: [PATCH] List the hash worker among the cached outputs of Vortex's main build @vortex/main:build is cached by Nx, but its outputs list bsdiff-worker.cjs and not hash-worker.cjs. A build that restores the main build from the Nx cache, such as rebuilding the package in the same folder, ships without the hash worker: importing an archive by hand then fails with "Cannot find module .../app.asar/hash-worker.cjs", the archive gets no MD5 and a collection never recognises it. Co-Authored-By: Claude Opus 5.5 --- .SRCINFO | 2 ++ PKGBUILD | 2 ++ patches/0046-hash-worker-nx-cache-output.patch | 12 ++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 patches/0046-hash-worker-nx-cache-output.patch diff --git a/.SRCINFO b/.SRCINFO index 2387202..6124764 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -100,6 +100,7 @@ pkgbase = vortex-linux source = 0041-linux-plugin-folder-prefix.patch source = 0042-linux-wine-prefix-setting.patch source = 0043-linux-steam-prefix-any-library.patch + source = 0046-hash-worker-nx-cache-output.patch source = vortex.sh source = vortex.desktop source = README.md @@ -158,6 +159,7 @@ pkgbase = vortex-linux sha512sums = SKIP sha512sums = SKIP sha512sums = SKIP + sha512sums = SKIP sha512sums = 935db5c6cee19f2c016e67168bfae7b491044735de76c673abb3b125dd325fd5e779d7efe12ba80178d46689ae70a25e558a3fa846417d44c5f4ca256e7f4bf2 sha512sums = e3f31d298a2b674b54c7fc89fb3f06d9645fc5879a54f2ebf2ea20e9ee7ae55f1bfe3284c1f90a591d6be2d6bcd251790ddc27771d65303e7a6a56d331df4632 sha512sums = 2161dfa1cf027cdc074de7195b5f206b17ebd829ae415b9e7c9ee5f06d3952b6583030022dbe0d6e9221b5c577c411d7cd5322241f6d2299d9c886641215699b diff --git a/PKGBUILD b/PKGBUILD index a6e3e7d..a50fd28 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -144,6 +144,7 @@ _patches=( '0041-linux-plugin-folder-prefix.patch' '0042-linux-wine-prefix-setting.patch' '0043-linux-steam-prefix-any-library.patch' + '0046-hash-worker-nx-cache-output.patch' ) source=( @@ -223,6 +224,7 @@ sha512sums=( 'SKIP' 'SKIP' 'SKIP' + 'SKIP' # Keep integrity checks for binaries downloaded outside this repository. '935db5c6cee19f2c016e67168bfae7b491044735de76c673abb3b125dd325fd5e779d7efe12ba80178d46689ae70a25e558a3fa846417d44c5f4ca256e7f4bf2' 'e3f31d298a2b674b54c7fc89fb3f06d9645fc5879a54f2ebf2ea20e9ee7ae55f1bfe3284c1f90a591d6be2d6bcd251790ddc27771d65303e7a6a56d331df4632' diff --git a/patches/0046-hash-worker-nx-cache-output.patch b/patches/0046-hash-worker-nx-cache-output.patch new file mode 100644 index 0000000..4a5f2db --- /dev/null +++ b/patches/0046-hash-worker-nx-cache-output.patch @@ -0,0 +1,12 @@ +diff --git a/src/main/package.json b/src/main/package.json +--- a/src/main/package.json ++++ b/src/main/package.json +@@ -78,6 +78,8 @@ + "{projectRoot}/build/main.cjs.map", + "{projectRoot}/build/bsdiff-worker.cjs", + "{projectRoot}/build/bsdiff-worker.cjs.map", ++ "{projectRoot}/build/hash-worker.cjs", ++ "{projectRoot}/build/hash-worker.cjs.map", + "{projectRoot}/build/hdiffz.wasm", + "{projectRoot}/build/LICENSE-HDiffPatch.txt", + "{projectRoot}/build/LICENSE-bzip2.txt"