janela 0.1.0 → 0.1.1
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/bin/janela.mjs +4 -0
- package/package.json +2 -2
package/bin/janela.mjs
CHANGED
|
@@ -183,6 +183,10 @@ function build(root) {
|
|
|
183
183
|
const bin = join(outDir, conf.name);
|
|
184
184
|
run(["node", scriptcBin(), "build", "entry.ts", "--ffi", "janela.ffi.json", "-o", bin], { cwd: buildDir });
|
|
185
185
|
|
|
186
|
+
// Symbol/debug metadata is ~16% of the binary and apps don't need it.
|
|
187
|
+
// (On arm64 macOS, strip re-signs ad-hoc automatically.)
|
|
188
|
+
run(["strip", bin]);
|
|
189
|
+
|
|
186
190
|
if (process.platform === "darwin") {
|
|
187
191
|
const bundle = join(outDir, `${conf.name}.app`);
|
|
188
192
|
mkdirSync(join(bundle, "Contents", "MacOS"), { recursive: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "janela",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Desktop apps in pure TypeScript, compiled to native. No Rust, no Node, no Electron.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"type": "git",
|
|
17
17
|
"url": "git+https://github.com/mmamedel/janela.git"
|
|
18
18
|
},
|
|
19
|
-
"homepage": "https://github.
|
|
19
|
+
"homepage": "https://mmamedel.github.io/janela/",
|
|
20
20
|
"bugs": {
|
|
21
21
|
"url": "https://github.com/mmamedel/janela/issues"
|
|
22
22
|
},
|