mirror of
https://github.com/nimbold/Firelink.git
synced 2026-08-31 13:08:17 +00:00
fix(ci): exclude engine payload from initial AppImage bundle
This commit is contained in:
@@ -11,7 +11,11 @@ let receivedSignal;
|
|||||||
export const APPIMAGE_CONFIG = JSON.stringify({
|
export const APPIMAGE_CONFIG = JSON.stringify({
|
||||||
bundle: {
|
bundle: {
|
||||||
resources: {
|
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,11 +2,11 @@ import assert from 'node:assert/strict';
|
|||||||
import test from 'node:test';
|
import test from 'node:test';
|
||||||
import { APPIMAGE_CONFIG, appImageBundleArguments } from './build-linux-appimage.js';
|
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), {
|
assert.deepEqual(JSON.parse(APPIMAGE_CONFIG), {
|
||||||
bundle: {
|
bundle: {
|
||||||
resources: {
|
resources: {
|
||||||
'../THIRD_PARTY_NOTICES.md': 'THIRD_PARTY_NOTICES.md',
|
'engine-dist/': null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user