fix(ci): exclude engine payload from initial AppImage bundle

This commit is contained in:
NimBold
2026-07-30 05:53:43 +03:30
parent 33dd2cb9c6
commit 31fbc5495b
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -11,7 +11,11 @@ let receivedSignal;
export const APPIMAGE_CONFIG = JSON.stringify({
bundle: {
resources: {
'../THIRD_PARTY_NOTICES.md': 'THIRD_PARTY_NOTICES.md',
// Tauri merges --config values using JSON Merge Patch. An omitted key
// would leave the base engine resource enabled; null explicitly removes
// it for this first packaging pass. The verified payload is added back
// by repack-linux-appimage-engines.js after linuxdeploy finishes.
'engine-dist/': null,
},
},
});
+2 -2
View File
@@ -2,11 +2,11 @@ import assert from 'node:assert/strict';
import test from 'node:test';
import { APPIMAGE_CONFIG, appImageBundleArguments } from './build-linux-appimage.js';
test('AppImage config keeps notices while excluding the staged engine payload', () => {
test('AppImage config explicitly removes the staged engine payload', () => {
assert.deepEqual(JSON.parse(APPIMAGE_CONFIG), {
bundle: {
resources: {
'../THIRD_PARTY_NOTICES.md': 'THIRD_PARTY_NOTICES.md',
'engine-dist/': null,
},
},
});