Skip to content
Source
Sign inSign up
pingdotgg/t3code

Repair missing Effect modules after desktop packaging #4160

Closedjuliusmarmingewants to merge 3 commits intomain fromt3code/fix-bundling-issue-4154opened View on GitHub

Showing 4 changed files with 88 additions and 0 deletions (loading 1).

x
0 of 4 viewed, 4 left
4 additions and 0 deletionsscripts/build-desktop-artifact.test.tsModified
View file
@@ -14,6 +14,7 @@
createStagePatchedDependencies,
createBuildConfig,
DESKTOP_ASAR_UNPACK,
+ DESKTOP_AFTER_PACK_HOOK_FILE,
InvalidMacPasskeyRpDomainError,
InvalidMacPasskeyPublishableKeyError,
InvalidMockUpdateServerPortError,
@@ -305,6 +306,7 @@
​
it("unpacks the fff shared library for filesystem and FFI access", () => {
assert.deepStrictEqual(DESKTOP_ASAR_UNPACK, ["node_modules/@ff-labs/fff-bin-*/**/*"]);
+ assert.equal(DESKTOP_AFTER_PACK_HOOK_FILE, "desktop-after-pack.ts");
});
​
it.effect("preserves both Linux icon resize failures with structural context", () => {
@@ -489,9 +491,11 @@
false,
undefined,
undefined,
+ "C:\\stage\\desktop-after-pack.ts",
​
const win = config.win as Record<string, unknown>;
+ assert.equal(config.afterPack, "C:\\stage\\desktop-after-pack.ts");
assert.equal(win.icon, "icon.ico");
assert.equal(win.signAndEditExecutable, true);
assert.notProperty(win, "azureSignOptions");