@elurjs/universal 0.1.12 → 0.1.13
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/cli/create-app.mjs +5 -3
- package/docs/INSTALACION-Y-DEV.md +5 -3
- package/package.json +1 -1
package/cli/create-app.mjs
CHANGED
|
@@ -102,9 +102,11 @@ Prerequisitos por plataforma:
|
|
|
102
102
|
device online el bundle queda generado sin push.
|
|
103
103
|
- linux — \`libgtk-4-dev\`, \`libsoup-3.0\` dev, \`fontconfig\`,
|
|
104
104
|
\`cmake\`, \`pkg-config\`, compilador C++20, X11/Wayland. El host se
|
|
105
|
-
compila aparte: \`cmake -B
|
|
106
|
-
targets/linux/build
|
|
107
|
-
|
|
105
|
+
compila aparte dentro del paquete: \`cmake -B node_modules/@elurjs/
|
|
106
|
+
universal/targets/linux/build -S node_modules/@elurjs/universal/
|
|
107
|
+
targets/linux && cmake --build node_modules/@elurjs/universal/
|
|
108
|
+
targets/linux/build -j4\` → \`…/targets/linux/build/elur-linux\`
|
|
109
|
+
(o simplemente \`bun run build:linux\`, que lo hace solo).
|
|
108
110
|
- windows — nativo: VS Build Tools 2022 (VCTools + MSBuild + Windows
|
|
109
111
|
11 SDK) + clone de \`quickjs-ng\` (el host enlaza \`qjs.lib\`);
|
|
110
112
|
\`msbuild node_modules/@elurjs/universal/targets/windows/
|
|
@@ -144,9 +144,11 @@ Scripts del scaffold (`create-app.mjs`):
|
|
|
144
144
|
`--splits` (APK por ABI + universal), `--minify` (R8 +
|
|
145
145
|
shrinkResources). Sin credenciales release firma debug.
|
|
146
146
|
- **linux** → `generated/elurApp.js` + `elurApp.es5.qjsc` +
|
|
147
|
-
`targets/linux/generated/` (registrar/sources de módulos)
|
|
148
|
-
|
|
149
|
-
targets/linux/build
|
|
147
|
+
`targets/linux/generated/` (registrar/sources de módulos) **+ el
|
|
148
|
+
binario del host**: en Linux `build:linux` corre `cmake -B
|
|
149
|
+
node_modules/@elurjs/universal/targets/linux/build -S …/targets/linux`
|
|
150
|
+
+ `cmake --build … -j4` → `node_modules/@elurjs/universal/targets/
|
|
151
|
+
linux/build/elur-linux`.
|
|
150
152
|
Distribución (ADR-0186): `bun cli/package-linux.mjs --format
|
|
151
153
|
appimage|deb|rpm|flatpak|all --app <bundle.js> --name n --title T
|
|
152
154
|
--version X.Y.Z` → AppDir autocontenido (pila GTK4 por `ldd`, loaders
|