Manav Rathi
b24d80a267
Move to new notarization mechanism
...
Refs:
- https://www.electron.build/configuration/mac.html#NotarizeLegacyOptions
- https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/macPackager.ts
- https://github.com/samuelmeuli/action-electron-builder/issues/101
2024-05-03 13:02:19 +05:30
Manav Rathi
ecf40a70cf
[desktop] Build ARM64 variant of Windows
...
Fixes https://github.com/ente-io/ente/issues/1374
A customer reported that the app fails to run on Windows ARM. The error is
coming when trying to load ONNX.
ONNX runtime supports Windows ARM, e.g. see
- https://www.jsdelivr.com/package/npm/onnxruntime-node?tab=files&path=bin%2Fnapi-v3%2Fwin32
- https://github.com/microsoft/onnxruntime/issues/18078
The issue then seems to be that we're not actually building for Windows ARM. I'm
not sure about this (don't have a Windows ARM machine at hand), but my theory is
that since we don't ask Electron Builder to build for win arm64, it doesn't copy
the corresponding ONNX binary into the generated bundle.
Other refs:
- https://www.electron.build/cli.html
2024-04-10 19:33:37 +05:30
Manav Rathi
e8d224c511
Remove stale ggml reference
2024-04-09 21:29:15 +05:30
Manav Rathi
42679bc9da
Remove duplicated icon
...
Per https://www.electron.build/icons , a single 512x512 icon.png placed in the
buildResources directory (default `build`) is enough to generate icons for all
three - macOS, Windows and Linux.
2024-03-27 15:00:25 +05:30
Manav Rathi
cd1d22cdfb
Shorten
2024-03-21 10:45:48 +05:30
Manav Rathi
cc623e5010
Remove unnecessary steps
...
I'm not sure how it is happening, but both ffmpeg-static and onnx get to their
correct path without this configuration. the paths it gets to is also slightly
different, so it seems that this snippet does not have any effect (at best):
ente.app/Contents/Resources/app.asar.unpacked/node_modules
2024-03-21 10:43:33 +05:30
Manav Rathi
bb865a7b15
Add documentation about ffmpeg
...
https://alexandercleasby.dev/blog/use-ffmpeg-electron
2024-03-21 10:16:21 +05:30
Manav Rathi
e4684b22df
Move out the electron-builder config to separate file
2024-03-19 19:17:01 +05:30