aether-app icon indicating copy to clipboard operation
aether-app copied to clipboard

Electron Upgrade progress

Open croche2574 opened this issue 2 years ago • 5 comments

Upgraded electron, changed to use electron's base ipc lib instead of better-ipc, changed to use grpc-js instead of grpc (should be fairly seamless but something's wrong), upgraded a bunch of stuff, started moving all the relevant stuff into preload.js (idk how much has to go there and what can stay -see clapiserver.ts)

croche2574 avatar Jul 27 '23 01:07 croche2574

Electron-context-menu is not playing nice. Consider replacing it with the official version instead of Nehbit's fork?

Frigyes06 avatar Jul 27 '23 14:07 Frigyes06

After changing electron context menu to the official version, and bumping node to v14, it builds but breaks.

libva error: /usr/lib/dri/i965_drv_video.so init failed
[13827:0828/111246.661159:ERROR:CONSOLE(1)] "Uncaught (in promise) TypeError: Failed to fetch", source: devtools://devtools/bundled/panels/elements/elements.js (1)

also grpc missing?

Frigyes06 avatar Aug 28 '23 18:08 Frigyes06

feapiconsumer.ts has grpc left

Frigyes06 avatar Aug 28 '23 18:08 Frigyes06

Failing now because we need newer NPM version. google-protobuf is somehow missing from /aether-app/aether-core/aether/protos/feapi/feapi_pb.js App still doesn't start Build fails.

Frigyes06 avatar Aug 31 '23 04:08 Frigyes06

feapi consumer init fails at

Uncaught Error: Cannot find module 'google-protobuf'
Require stack:
- /home/frigyes/aether-app/aether-core/aether/protos/feapi/feapi_pb.js
- /home/frigyes/aether-app/aether-core/aether/client/src/app/services/feapiconsumer/feapiconsumer.js
- /home/frigyes/aether-app/aether-core/aether/client/src/app/services/clapiserver/clapiserver.js
- /home/frigyes/aether-app/aether-core/aether/client/src/app/preload.js
    at eval (renderermain.ts:48:38)
    at ./src/app/renderermain.ts (bundle.js:19:1)
    at __webpack_require__ (bundle.js:43:42)
    at bundle.js:54:37
    at bundle.js:56:12

Frigyes06 avatar Aug 31 '23 17:08 Frigyes06