stackbite 0.5.95 → 0.5.97
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/package.json
CHANGED
|
@@ -158,8 +158,9 @@ async function nativeExecutable(root, spec, name = 'stackbite') {
|
|
|
158
158
|
if (spec.platform !== 'win32' && process.platform !== 'win32' && !(image.mode & 0o111)) fail('Native release executable has no execute permission');
|
|
159
159
|
return executable;
|
|
160
160
|
}
|
|
161
|
-
// The release pins the whole payload before this mapping.
|
|
162
|
-
//
|
|
161
|
+
// The release pins the whole payload before this mapping. Windows opens the
|
|
162
|
+
// frozen engine, which selects the Rust TUI/owner; POSIX opens the native entry.
|
|
163
|
+
// A bundled native entry is validated on every platform before either choice.
|
|
163
164
|
async function publicExecutable(root, spec, hashes) {
|
|
164
165
|
const engine = await nativeExecutable(root, spec);
|
|
165
166
|
const name = 'stackbite-launcher' + (spec.platform === 'win32' ? '.exe' : '');
|
|
@@ -178,7 +179,8 @@ async function publicExecutable(root, spec, hashes) {
|
|
|
178
179
|
|| !info || Object.keys(info).sort().join(',') !== 'binary,commit,product,protocol,target,version'
|
|
179
180
|
|| info.product !== 'Stackbite' || info.binary !== 'stackbite-launcher' || info.version !== spec.version
|
|
180
181
|
|| info.commit !== spec.commit || info.target !== target || info.protocol !== 1) fail('Native entry package identity or pin is invalid');
|
|
181
|
-
|
|
182
|
+
const launcher = await nativeExecutable(root, spec, 'stackbite-launcher');
|
|
183
|
+
return spec.platform === 'win32' ? engine : launcher;
|
|
182
184
|
}
|
|
183
185
|
async function validatePayload(directory, spec, { includePhone = true } = {}) {
|
|
184
186
|
const root = await payloadRoot(directory);
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"commit": "
|
|
3
|
+
"version": "0.5.97",
|
|
4
|
+
"commit": "d93c92bb4a58734a087aa463f38b341d2a0658fa",
|
|
5
5
|
"repository": "Shinick-Han/stackbite",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"win32-x64": {
|
|
8
|
-
"asset": "stackbite-0.5.
|
|
9
|
-
"url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.
|
|
10
|
-
"sha256": "
|
|
11
|
-
"size":
|
|
12
|
-
"root": "stackbite-0.5.
|
|
13
|
-
"manifestSha256": "
|
|
14
|
-
"metadataSha256": "
|
|
8
|
+
"asset": "stackbite-0.5.97-windows-x64-d93c92bb4a58.zip",
|
|
9
|
+
"url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.97/stackbite-0.5.97-windows-x64-d93c92bb4a58.zip",
|
|
10
|
+
"sha256": "9f7a56954fe214291480a80133b3af06cfb357a0b0519f522bb64e9b97499aa5",
|
|
11
|
+
"size": 95783978,
|
|
12
|
+
"root": "stackbite-0.5.97-windows-x64-d93c92bb4a58",
|
|
13
|
+
"manifestSha256": "aea3457360e22abbe83a3a6d8dc0fc7c542efc1e67db1afd060427a4006b1a47",
|
|
14
|
+
"metadataSha256": "c881ace2ffd9d7e7368f65efa97ad3ff6c6b6ffe5433ed9ea0642eb2819c7d7a"
|
|
15
15
|
},
|
|
16
16
|
"linux-x64": {
|
|
17
|
-
"asset": "stackbite-0.5.
|
|
18
|
-
"url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.
|
|
19
|
-
"sha256": "
|
|
20
|
-
"size":
|
|
21
|
-
"root": "stackbite-0.5.
|
|
22
|
-
"manifestSha256": "
|
|
23
|
-
"metadataSha256": "
|
|
17
|
+
"asset": "stackbite-0.5.97-linux-x86_64-d93c92bb4a58.tar.gz",
|
|
18
|
+
"url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.97/stackbite-0.5.97-linux-x86_64-d93c92bb4a58.tar.gz",
|
|
19
|
+
"sha256": "3f4f9c56f70e53012f15c1bf11cd1674bc1768e06e5fbe10f3fdc92c4228fd6b",
|
|
20
|
+
"size": 76061466,
|
|
21
|
+
"root": "stackbite-0.5.97-linux-x86_64-d93c92bb4a58",
|
|
22
|
+
"manifestSha256": "392ff108097c47dcd93f0bbc32d1cde6e37085c41ede3e3cb6a781794c5f33bb",
|
|
23
|
+
"metadataSha256": "c0efc702716482ae3f7634a0e1c311dd69885912511955746a5d00e1c21575b1"
|
|
24
24
|
},
|
|
25
25
|
"darwin-arm64": {
|
|
26
|
-
"asset": "stackbite-0.5.
|
|
27
|
-
"url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.
|
|
28
|
-
"sha256": "
|
|
29
|
-
"size":
|
|
30
|
-
"root": "stackbite-0.5.
|
|
31
|
-
"manifestSha256": "
|
|
32
|
-
"metadataSha256": "
|
|
26
|
+
"asset": "stackbite-0.5.97-macos-arm64-d93c92bb4a58.tar.gz",
|
|
27
|
+
"url": "https://github.com/Shinick-Han/stackbite/releases/download/v0.5.97/stackbite-0.5.97-macos-arm64-d93c92bb4a58.tar.gz",
|
|
28
|
+
"sha256": "2e1b3ee9fe9f03dcd01be97f67d640b4b04b59d2549fed9cef33e26dad36d942",
|
|
29
|
+
"size": 31019387,
|
|
30
|
+
"root": "stackbite-0.5.97-macos-arm64-d93c92bb4a58",
|
|
31
|
+
"manifestSha256": "84cc726b662f4f6152c2c35f698314c0c22d88a04511a1a881e4c4a97a0b0a0b",
|
|
32
|
+
"metadataSha256": "bb2dbebb6d0dc5116e483a947fdb53d8e1e35f72c4a0ee3df35e522b43765f16"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
}
|