@adea-ai/app-framework 0.41.0 → 0.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ci/desktop-release.sh +4 -2
- package/dist/cli/electrobun-shortcut-patch-cli.js +1 -1
- package/dist/framework-source.json +1 -1
- package/dist/native/cef-helper.d.ts +1 -1
- package/dist/native/cef-helper.js +4 -4
- package/dist/native/electrobun-source-patch.d.ts +4 -4
- package/dist/native/electrobun-source-patch.js +9 -9
- package/dist/native/posix-launcher-build.js +3 -3
- package/dist/native/windows-build-hook.js +1 -1
- package/dist/native/windows-extractor-build.d.ts +2 -2
- package/dist/native/windows-extractor-build.js +4 -4
- package/dist/native/windows-runtime-patch.d.ts +2 -2
- package/dist/native/windows-runtime-patch.js +3 -3
- package/package.json +1 -1
- package/src/native/electrobun-cef-main-frame-bridges.patch +1 -1
- package/src/native/electrobun-posix-launch-lease.patch +1 -1
- package/src/native/electrobun-types.d.ts +2 -2
- package/src/native/electrobun-windows-shortcut-com.patch +2 -2
package/ci/desktop-release.sh
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# adea-desktop-release: publish a desktop release from a release tag pipeline (GitLab CI, CircleCI or
|
|
3
|
-
# GitHub Actions) with the framework's local release mode. It builds this machine's platform
|
|
3
|
+
# GitHub Actions) with the framework's local release mode. It builds this machine's platform
|
|
4
|
+
# (macOS arm64, Linux x64, or Windows x64 using Git Bash),
|
|
4
5
|
# signs the channel descriptors, uploads the staged tree to the app's release feed (an
|
|
5
6
|
# S3-compatible bucket such as Cloudflare R2), verifies the release from the feed, then uploads the
|
|
6
7
|
# channel pointers clients follow, and links every published file on the GitLab release.
|
|
@@ -75,6 +76,7 @@ has_script() { bun -e 'process.exit(require("./package.json").scripts?.[process.
|
|
|
75
76
|
case "$(uname -s)/$(uname -m)" in
|
|
76
77
|
Darwin/arm64) platform=macos-arm64 ;;
|
|
77
78
|
Linux/x86_64) platform=linux-x64 ;;
|
|
79
|
+
MINGW64_NT-*/x86_64|MSYS_NT-*/x86_64) platform=windows-x64 ;;
|
|
78
80
|
*) say "refusing: no release platform for $(uname -s)/$(uname -m)"; exit 1 ;;
|
|
79
81
|
esac
|
|
80
82
|
|
|
@@ -173,7 +175,7 @@ if [ "$status" != dispatched ]; then
|
|
|
173
175
|
link_release "$tag"
|
|
174
176
|
exit 0
|
|
175
177
|
fi
|
|
176
|
-
say "desktop $repo $tag at $sha: building $platform
|
|
178
|
+
say "desktop $repo $tag at $sha: building $platform"
|
|
177
179
|
|
|
178
180
|
if has_script release:preflight; then bun run release:preflight "$tag" "$platform"
|
|
179
181
|
else rc=$?; [ "$rc" = 3 ] || exit "$rc"; fi
|
|
@@ -11,7 +11,7 @@ await runCli((error) => `Unable to apply the pinned Electrobun shortcut patch: $
|
|
|
11
11
|
if (execFileSync("git", ["rev-parse", "HEAD"], {
|
|
12
12
|
cwd: root,
|
|
13
13
|
encoding: "utf8"
|
|
14
|
-
}).trim() !== "
|
|
14
|
+
}).trim() !== "c9e637c4e8acc8d53fc4a1703346196b004a00d8") throw new Error("Unexpected Electrobun commit");
|
|
15
15
|
applyElectrobunPatch(root, SHORTCUT_PATCH_PATH, PINNED_SHORTCUT_PATCH);
|
|
16
16
|
process.stdout.write("Prepared pinned Electrobun extractor with bounded Shell Link shortcuts\n");
|
|
17
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.
|
|
1
|
+
{"version":"0.42.0","commit":"36321bb94166ff7531a2562ea320e341c3906976"}
|
|
@@ -6,7 +6,7 @@ type CefHelperTarget = Readonly<{
|
|
|
6
6
|
sdk: string;
|
|
7
7
|
sdkBytes: number;
|
|
8
8
|
sdkSha256: string;
|
|
9
|
-
/** The helper Electrobun 2.0.
|
|
9
|
+
/** The helper Electrobun 2.0.6 ships in its core archive for this target. */
|
|
10
10
|
stockHelperSha256: string;
|
|
11
11
|
}>;
|
|
12
12
|
/** A failure message safe to print: this module's own bounded messages, never paths or tool output. */
|
|
@@ -7,10 +7,10 @@ import { createHash, randomUUID } from "node:crypto";
|
|
|
7
7
|
import { spawnSync } from "node:child_process";
|
|
8
8
|
import { availableParallelism, homedir } from "node:os";
|
|
9
9
|
// src/native/cef-helper.ts
|
|
10
|
-
/** The CEF build Electrobun 2.0.
|
|
10
|
+
/** The CEF build Electrobun 2.0.6 pins (its src/shared/cef-version.ts). */
|
|
11
11
|
var CEF_VERSION = "156.0.7+g47dbc1d";
|
|
12
12
|
var CHROMIUM_VERSION = "156.0.8078.17";
|
|
13
|
-
/** Electrobun 2.0.
|
|
13
|
+
/** Electrobun 2.0.6's macOS deployment target (its scripts/macos-release.js). */
|
|
14
14
|
var MACOS_DEPLOYMENT_TARGET = "14.0";
|
|
15
15
|
/** Bump when the build recipe below changes, so cached helpers are rebuilt. */
|
|
16
16
|
var RECIPE = 1;
|
|
@@ -37,7 +37,7 @@ var TARGETS = {
|
|
|
37
37
|
sdk: "windows64",
|
|
38
38
|
sdkBytes: 174668703,
|
|
39
39
|
sdkSha256: "81ed0be65efe89013c354ce60f3d694958a613891a46efee2f3a25d5af8fdca0",
|
|
40
|
-
stockHelperSha256: "
|
|
40
|
+
stockHelperSha256: "32e58abf3a83fb09f2d784a69a8aa49907ca19291d204b4cafeb0a01fb61552a"
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
/** A failure message safe to print: this module's own bounded messages, never paths or tool output. */
|
|
@@ -220,7 +220,7 @@ function visualStudioRoot() {
|
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
222
|
* Fetch the three pinned helper sources, apply the digest-pinned main-frame
|
|
223
|
-
* patch, and build this target's helper exactly as Electrobun 2.0.
|
|
223
|
+
* patch, and build this target's helper exactly as Electrobun 2.0.6's
|
|
224
224
|
* build.ts does, against the pinned CEF minimal distribution.
|
|
225
225
|
*/
|
|
226
226
|
async function buildPatchedCefHelper(pin, work, output) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/** Electrobun 2.0.
|
|
2
|
-
export declare const ELECTROBUN_COMMIT = "
|
|
1
|
+
/** Electrobun 2.0.6 (MIT), tag v2.0.6: the only source these patches target. */
|
|
2
|
+
export declare const ELECTROBUN_COMMIT = "c9e637c4e8acc8d53fc4a1703346196b004a00d8";
|
|
3
3
|
/** The Electrobun release that commit is tagged as. */
|
|
4
|
-
export declare const ELECTROBUN_VERSION = "2.0.
|
|
5
|
-
/** The Zig release Electrobun 2.0.
|
|
4
|
+
export declare const ELECTROBUN_VERSION = "2.0.6";
|
|
5
|
+
/** The Zig release Electrobun 2.0.6 builds with (its src/shared/build-dependencies.ts). */
|
|
6
6
|
export declare const ZIG_VERSION = "0.17.0";
|
|
7
7
|
export declare const SHORTCUT_PATCH_PATH: string;
|
|
8
8
|
export declare const CEF_BRIDGE_PATCH_PATH: string;
|
|
@@ -5,11 +5,11 @@ import { lstatSync, readFileSync } from "node:fs";
|
|
|
5
5
|
import { execFileSync } from "node:child_process";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
// src/native/electrobun-source-patch.ts
|
|
8
|
-
/** Electrobun 2.0.
|
|
9
|
-
var ELECTROBUN_COMMIT = "
|
|
8
|
+
/** Electrobun 2.0.6 (MIT), tag v2.0.6: the only source these patches target. */
|
|
9
|
+
var ELECTROBUN_COMMIT = "c9e637c4e8acc8d53fc4a1703346196b004a00d8";
|
|
10
10
|
/** The Electrobun release that commit is tagged as. */
|
|
11
|
-
var ELECTROBUN_VERSION = "2.0.
|
|
12
|
-
/** The Zig release Electrobun 2.0.
|
|
11
|
+
var ELECTROBUN_VERSION = "2.0.6";
|
|
12
|
+
/** The Zig release Electrobun 2.0.6 builds with (its src/shared/build-dependencies.ts). */
|
|
13
13
|
var ZIG_VERSION = "0.17.0";
|
|
14
14
|
/** Patches ship in `src/native/` so packaged consumers apply the reviewed bytes from `dist/` or `src/`. */
|
|
15
15
|
var shippedPatch = (name) => join(dirname(fileURLToPath(import.meta.url)), "..", "..", "src", "native", name);
|
|
@@ -18,21 +18,21 @@ var CEF_BRIDGE_PATCH_PATH = shippedPatch("electrobun-cef-main-frame-bridges.patc
|
|
|
18
18
|
var POSIX_LAUNCH_LEASE_PATCH_PATH = shippedPatch("electrobun-posix-launch-lease.patch");
|
|
19
19
|
var extractor = "package/src/extractor/";
|
|
20
20
|
var PINNED_SHORTCUT_PATCH = {
|
|
21
|
-
patchSha256: "
|
|
21
|
+
patchSha256: "8295388222d6961ab73bba38783f707c78cf75a351f4675edb4ed5288d7b3c0c",
|
|
22
22
|
before: {
|
|
23
23
|
[`${extractor}build.zig`]: "b749c261250850a8e7d9d2d59fea1023b11a49d1b6d7311808c0ff1ca72b4400",
|
|
24
|
-
[`${extractor}main.zig`]: "
|
|
24
|
+
[`${extractor}main.zig`]: "67b32f50a771fb60f6479ab93d244e8b05acc522036388aa66063796eb474e73"
|
|
25
25
|
},
|
|
26
26
|
after: {
|
|
27
27
|
[`${extractor}build.zig`]: "2b2c20a3ca4dbd7630205df547049389ca74628b8c1201b37aa867b96a8dd8a3",
|
|
28
|
-
[`${extractor}main.zig`]: "
|
|
28
|
+
[`${extractor}main.zig`]: "82529c17c05d64f35a8c5195773a7ad1950bd0c5476385e8c01b18101979d19d",
|
|
29
29
|
[`${extractor}windows_shortcut.c`]: "1265bbbe87720784d9386b124ffe3bec4ae218389560eeebe85004531cb11698",
|
|
30
30
|
[`${extractor}windows_shortcut_test_helper.c`]: "1edccd2789efecfdea43911b89195c86fc95c0dda6ac76c0d1182a4d6fbee904"
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
/** Opt-in launcher lease: macOS arm64 runtime-qualified; Linux x86_64 compile-only. */
|
|
34
34
|
var PINNED_POSIX_LAUNCH_LEASE_PATCH = {
|
|
35
|
-
patchSha256: "
|
|
35
|
+
patchSha256: "d75dffd649e1cc7cd643bc2a3119ca6a4de4d1664a4b3b32d9f43ab65fb4f1da",
|
|
36
36
|
unidiffZero: true,
|
|
37
37
|
before: {
|
|
38
38
|
"package/src/launcher/build.zig": "d56006fddea42684850aa67d7031198b2ded3eabb931b22bf2c25f30627975ba",
|
|
@@ -51,7 +51,7 @@ var CEF_HELPER_SOURCES = {
|
|
|
51
51
|
win: "package/src/native/win/cef_process_helper_win.cpp"
|
|
52
52
|
};
|
|
53
53
|
var PINNED_CEF_BRIDGE_PATCH = {
|
|
54
|
-
patchSha256: "
|
|
54
|
+
patchSha256: "cb969c31201c61cbf937ecd93b464252a9166c690462d8e7cc03d823ad6eea1a",
|
|
55
55
|
before: {
|
|
56
56
|
[CEF_HELPER_SOURCES.macos]: "b7e7704e41fab57f09c111b42815c70fb4620c5064aa2ef3c58d90642717c2ba",
|
|
57
57
|
[CEF_HELPER_SOURCES.linux]: "f71d78b51da00a5236b922c5d60708ba077857e2d3e4f6230afaae10cf21ccea",
|
|
@@ -74,7 +74,7 @@ async function preparePinnedLauncher(work) {
|
|
|
74
74
|
"--detach",
|
|
75
75
|
ELECTROBUN_COMMIT
|
|
76
76
|
], source);
|
|
77
|
-
if (sourceHead(source) !== "
|
|
77
|
+
if (sourceHead(source) !== "c9e637c4e8acc8d53fc4a1703346196b004a00d8") throw new Error("Unexpected pinned Electrobun source revision");
|
|
78
78
|
try {
|
|
79
79
|
applyElectrobunPatch(source, POSIX_LAUNCH_LEASE_PATCH_PATH, PINNED_POSIX_LAUNCH_LEASE_PATCH);
|
|
80
80
|
} catch (error) {
|
|
@@ -173,9 +173,9 @@ async function verifyElectrobunPackage(cwd) {
|
|
|
173
173
|
try {
|
|
174
174
|
manifest = JSON.parse(await readFile(join(cwd, "node_modules", "electrobun", "package.json"), "utf8"));
|
|
175
175
|
} catch (error) {
|
|
176
|
-
throw new Error(
|
|
176
|
+
throw new Error(`Missing pinned Electrobun ${ELECTROBUN_VERSION} package`, { cause: error });
|
|
177
177
|
}
|
|
178
|
-
if (manifest.version !== "2.0.
|
|
178
|
+
if (manifest.version !== "2.0.6") throw new Error("Unexpected pinned Electrobun package version");
|
|
179
179
|
}
|
|
180
180
|
/**
|
|
181
181
|
* Replace the stable macOS arm64 package launcher only when explicitly enabled.
|
|
@@ -5,7 +5,7 @@ import { createHash } from "node:crypto";
|
|
|
5
5
|
/** Electrobun postBuild hook; runs before release hashing, packaging and signing. */
|
|
6
6
|
async function secureWindowsBuild() {
|
|
7
7
|
await patchWindowsBuildForTest(process.env, (input) => {
|
|
8
|
-
if (createHash("sha256").update(input).digest("hex") === "
|
|
8
|
+
if (createHash("sha256").update(input).digest("hex") === "aa0ff9576a70cdc4f0a4c5df7c89daa888a492c3b47bc7671b5e2bbe5ee517fa") return input;
|
|
9
9
|
return patchPinnedWindowsRuntime(input);
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -2,7 +2,7 @@ import { ELECTROBUN_VERSION, ZIG_VERSION } from './electrobun-source-patch';
|
|
|
2
2
|
import { type PinnedFetch } from './pinned-download';
|
|
3
3
|
export { ELECTROBUN_VERSION, ZIG_VERSION };
|
|
4
4
|
/**
|
|
5
|
-
* Electrobun 2.0.
|
|
5
|
+
* Electrobun 2.0.6's Windows installer runs `extractor.exe`, whose shortcut code this
|
|
6
6
|
* framework patches (electrobun-windows-shortcut-com.patch). A stable Windows build
|
|
7
7
|
* rebuilds that extractor from the pinned source with the pinned Zig toolchain and points
|
|
8
8
|
* Electrobun at a copy of its devkit holding the rebuilt binary.
|
|
@@ -14,7 +14,7 @@ export { ELECTROBUN_VERSION, ZIG_VERSION };
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const ZIG_WINDOWS_TARGET: readonly ['-Dtarget=x86_64-windows-gnu', '-Dcpu=x86_64_v2'];
|
|
16
16
|
type Env = Readonly<Record<string, string | undefined>>;
|
|
17
|
-
/** The extractor's name in a pinned Electrobun 2.0.
|
|
17
|
+
/** The extractor's name in a pinned Electrobun 2.0.6 Windows x64 devkit manifest. */
|
|
18
18
|
export declare function validateWindowsDevkitManifest(manifest: unknown): string;
|
|
19
19
|
/** A PE32+ x64 executable that keeps the Windows GUI subsystem (no console window). */
|
|
20
20
|
export declare function assertWindowsX64GuiExecutable(bytes: Uint8Array): void;
|
|
@@ -9,7 +9,7 @@ import { tmpdir } from "node:os";
|
|
|
9
9
|
import { performance } from "node:perf_hooks";
|
|
10
10
|
// src/native/windows-extractor-build.ts
|
|
11
11
|
/**
|
|
12
|
-
* Electrobun 2.0.
|
|
12
|
+
* Electrobun 2.0.6's Windows installer runs `extractor.exe`, whose shortcut code this
|
|
13
13
|
* framework patches (electrobun-windows-shortcut-com.patch). A stable Windows build
|
|
14
14
|
* rebuilds that extractor from the pinned source with the pinned Zig toolchain and points
|
|
15
15
|
* Electrobun at a copy of its devkit holding the rebuilt binary.
|
|
@@ -25,10 +25,10 @@ var ZIG_WINDOWS_X64_URL = `https://ziglang.org/download/${ZIG_VERSION}/zig-x86_6
|
|
|
25
25
|
var ZIG_WINDOWS_X64_SHA256 = "b5663f69581dcf391293fbf16c06cb80d81d806545ce618b4d0bab7f0eb8c428";
|
|
26
26
|
var ZIG_WINDOWS_X64_SIZE = 100268137;
|
|
27
27
|
var ELECTROBUN_SOURCE_URL = "https://github.com/blackboardsh/electrobun.git";
|
|
28
|
-
/** The extractor's name in a pinned Electrobun 2.0.
|
|
28
|
+
/** The extractor's name in a pinned Electrobun 2.0.6 Windows x64 devkit manifest. */
|
|
29
29
|
function validateWindowsDevkitManifest(manifest) {
|
|
30
30
|
const value = manifest;
|
|
31
|
-
if (value?.schemaVersion !== 1 || value.product?.name !== "electrobun" || value.product?.version !== "2.0.
|
|
31
|
+
if (value?.schemaVersion !== 1 || value.product?.name !== "electrobun" || value.product?.version !== "2.0.6" || value.target?.os !== "win" || value.target?.arch !== "x64" || value.layout?.runtime?.extractor !== "extractor.exe") throw new Error("Hutch core does not match the pinned Electrobun 2.0.6 Windows x64 devkit");
|
|
32
32
|
return "extractor.exe";
|
|
33
33
|
}
|
|
34
34
|
/** A PE32+ x64 executable that keeps the Windows GUI subsystem (no console window). */
|
|
@@ -210,7 +210,7 @@ async function buildPatchedWindowsInstaller(options) {
|
|
|
210
210
|
sourceRoot,
|
|
211
211
|
"rev-parse",
|
|
212
212
|
"HEAD"
|
|
213
|
-
], { capture: true }) !== "
|
|
213
|
+
], { capture: true }) !== "c9e637c4e8acc8d53fc4a1703346196b004a00d8") throw new Error("Fetched Electrobun source does not match the pinned upstream commit");
|
|
214
214
|
(options.applyPatch ?? ((root) => applyElectrobunPatch(root, SHORTCUT_PATCH_PATH, PINNED_SHORTCUT_PATCH)))(sourceRoot);
|
|
215
215
|
startStage("zig-download-and-verification");
|
|
216
216
|
const archivePath = join(scratch, "zig-windows-x64.zip");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const ELECTROBUN_WINDOWS_WRAPPER_SHA256 = "
|
|
2
|
-
export declare const SECURE_WINDOWS_WRAPPER_SHA256 = "
|
|
1
|
+
export declare const ELECTROBUN_WINDOWS_WRAPPER_SHA256 = "c0fb7e9e429ea6c2d6ebe66faf419f48deb41bff90bd9d86f7f1b3b99545c52c";
|
|
2
|
+
export declare const SECURE_WINDOWS_WRAPPER_SHA256 = "aa0ff9576a70cdc4f0a4c5df7c89daa888a492c3b47bc7671b5e2bbe5ee517fa";
|
|
3
3
|
/** Patch only the exact pinned unsigned SDK. Sign the application after applying it. */
|
|
4
4
|
export declare function patchPinnedWindowsRuntime(input: Buffer): Buffer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { patchWindowsBinaryForDigest } from "./windows-runtime-patch-internal.js";
|
|
2
2
|
import { createHash } from "node:crypto";
|
|
3
3
|
// src/native/windows-runtime-patch.ts
|
|
4
|
-
var ELECTROBUN_WINDOWS_WRAPPER_SHA256 = "
|
|
5
|
-
var SECURE_WINDOWS_WRAPPER_SHA256 = "
|
|
4
|
+
var ELECTROBUN_WINDOWS_WRAPPER_SHA256 = "c0fb7e9e429ea6c2d6ebe66faf419f48deb41bff90bd9d86f7f1b3b99545c52c";
|
|
5
|
+
var SECURE_WINDOWS_WRAPPER_SHA256 = "aa0ff9576a70cdc4f0a4c5df7c89daa888a492c3b47bc7671b5e2bbe5ee517fa";
|
|
6
6
|
/** Patch only the exact pinned unsigned SDK. Sign the application after applying it. */
|
|
7
7
|
function patchPinnedWindowsRuntime(input) {
|
|
8
8
|
const output = patchWindowsBinaryForDigest(input, ELECTROBUN_WINDOWS_WRAPPER_SHA256);
|
|
9
|
-
if (createHash("sha256").update(output).digest("hex") !== "
|
|
9
|
+
if (createHash("sha256").update(output).digest("hex") !== "aa0ff9576a70cdc4f0a4c5df7c89daa888a492c3b47bc7671b5e2bbe5ee517fa") throw new Error("Unexpected patched runtime digest");
|
|
10
10
|
return output;
|
|
11
11
|
}
|
|
12
12
|
export { ELECTROBUN_WINDOWS_WRAPPER_SHA256, SECURE_WINDOWS_WRAPPER_SHA256, patchPinnedWindowsRuntime };
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Electrobun 2.0.
|
|
1
|
+
Electrobun 2.0.6 (MIT), commit c9e637c4e8acc8d53fc4a1703346196b004a00d8.
|
|
2
2
|
|
|
3
3
|
Install the CEF renderer bridges (__electrobunEventBridge,
|
|
4
4
|
__electrobunHostBridge, __electrobunBunBridge and __electrobunInternalBridge)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Electrobun 2.0.
|
|
1
|
+
Electrobun 2.0.6 (MIT), commit c9e637c4e8acc8d53fc4a1703346196b004a00d8.
|
|
2
2
|
|
|
3
3
|
Add an opt-in native inherited shared lease for packaged POSIX launchers. The
|
|
4
4
|
option defaults off and is not wired into framework packaging. Default/off
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Ambient declarations for the Electrobun 2.0.
|
|
2
|
+
* Ambient declarations for the Electrobun 2.0.6 main-process APIs framework applications use.
|
|
3
3
|
* Electrobun ships its runtime without type definitions, so a host declares the surface it
|
|
4
4
|
* calls. Reference this file instead of keeping a copy: add
|
|
5
5
|
* `"@adea-ai/app-framework/electrobun-types"` to `compilerOptions.types`, or
|
|
6
6
|
* `/// <reference types="@adea-ai/app-framework/electrobun-types" />` to a declaration file.
|
|
7
|
-
* Every member was checked against the pinned 2.0.
|
|
7
|
+
* Every member was checked against the pinned 2.0.6 API.
|
|
8
8
|
*/
|
|
9
9
|
declare module 'electrobun/bun' {
|
|
10
10
|
import type { NativeWindow, SecureWindowOptions } from '@adea-ai/app-framework/secure-window'
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
Electrobun 2.0.
|
|
1
|
+
Electrobun 2.0.6 (MIT), commit c9e637c4e8acc8d53fc4a1703346196b004a00d8.
|
|
2
2
|
|
|
3
3
|
Create the installer's Desktop and Start Menu shortcuts through Windows Shell
|
|
4
4
|
Link COM in an isolated extractor helper process instead of an unbounded
|
|
5
5
|
PowerShell child. Each shortcut waits at most 30 seconds; on timeout only the
|
|
6
6
|
helper is terminated and the installation fails. COM and file-write failures
|
|
7
7
|
fail the installation. Neither shortcut is skipped. Ported from the Adea
|
|
8
|
-
Electrobun 2.0.1 patch onto the 2.0.
|
|
8
|
+
Electrobun 2.0.1 patch onto the 2.0.6 extractor (Zig 0.17).
|
|
9
9
|
|
|
10
10
|
diff --git a/package/src/extractor/build.zig b/package/src/extractor/build.zig
|
|
11
11
|
index 9f1297e7e62ea12ed59cea8702987f48b2d8c6f3..b9c4aa9fc87a3ac38ed33930b050074f59611e83 100644
|