File remove-better-blockmap.patch of Package signal-desktop
This package fails to load (uses nonfree wasm) but is otherwise unused
--- Signal-Desktop-7.82.0/ts/scripts/artifact-build-completed.node.ts.orig 2025-12-10 23:51:42.000000000 +0100
+++ Signal-Desktop-7.82.0/ts/scripts/artifact-build-completed.node.ts 2025-12-11 18:21:39.878226217 +0100
@@ -9,7 +9,6 @@ import { pipeline } from 'node:stream/pr
import { createHash } from 'node:crypto';
import path from 'node:path';
import type { ArtifactCreated } from 'electron-builder';
-import { BlockMap } from 'better-blockmap';
export async function artifactBuildCompleted({
target,
@@ -20,9 +19,6 @@ export async function artifactBuildCompl
if (packager.platform.name === 'linux' && file.endsWith('.AppImage')) {
const blockMapPath = `${file}.blockmap`;
console.log(`Generating blockmap ${blockMapPath}`);
- const blockMapGenerator = new BlockMap({ detectZipBoundary: true });
- await pipeline(createReadStream(file), blockMapGenerator);
- await writeFile(blockMapPath, blockMapGenerator.compress());
}
if (packager.platform.name !== 'mac') {