You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you see any meaningful error information in the DevTools?
Hello, I'm one of the maintainers of the AUR package balena-etcher, And I built etcher from source for archlinux utilizing systemwide electron and node.
the built artifacts are in out/, within it balenaEtcher-linux-* looks like the package structure for deb and rpm
I find there is an etcher-util appears in both out/balenaEtcher-linux-*/resources/ and out/sidecar.
There is also a src dir in out/sidecar. From the compiling process below
// `--no-bytecode` so that we can cross-compile for arm64 on x64
'--no-bytecode',
'--public',
'--public-packages',
'"*"',
// always build for host platform and node version
// https://github.com/vercel/pkg-fetch/releases
'--target',
`node20-${arch}`,
'--output',
binPath,
],
]);
});
It is equivalent to node util/api.js. So I wrote a wrapper named etcher-util to replace the binary file and it works fine.
Here is my problem: even though I can get rid of etcher-util binary in the built package, I have to build it in the building procedure. Is there any way that I can build only js scripts in out/sidecar/src but not the final binary file?
Thanks
The text was updated successfully, but these errors were encountered:
Hello, I'm one of the maintainers of the AUR package
balena-etcher
, And I built etcher from source for archlinux utilizing systemwideelectron
andnode
.The build scripts are in AUR repo, mainly in the PKGBUILD
Below are the details:
package
commandout/
, within itbalenaEtcher-linux-*
looks like the package structure fordeb
andrpm
etcher-util
appears in bothout/balenaEtcher-linux-*/resources/
andout/sidecar
.There is also a
src
dir inout/sidecar
. From the compiling process belowetcher/forge.sidecar.ts
Lines 79 to 98 in c748c2a
It is equivalent to
node util/api.js
. So I wrote a wrapper namedetcher-util
to replace the binary file and it works fine.Here is my problem: even though I can get rid of
etcher-util
binary in the built package, I have to build it in the building procedure. Is there any way that I can build only js scripts inout/sidecar/src
but not the final binary file?Thanks
The text was updated successfully, but these errors were encountered: