Files
flipper/desktop
Pascal Hartig bf6afe329f Fix electron build on arm64
Summary:
Electron-builder puts its results in a different directory, based on the architecture you build on.

While we don't have plans to release an arm64 build internally, we still need to support local builds for testing.

Without this, it fails with a rather confusing error message:

```
Script termnated. Error: spawn zip ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:476:16)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn zip',
  path: 'zip',
  spawnargs: [ '-qyr9', '../Flipper-mac.zip', 'Flipper.app' ]
```

Reviewed By: lblasa

Differential Revision: D48517426

fbshipit-source-id: 21a133f8fce3aee0737ce5cbccc7a692a613b98e
2023-08-21 06:36:37 -07:00
..
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-14 11:33:06 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 04:00:56 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 03:03:30 -07:00
2023-08-21 06:36:37 -07:00
2023-08-21 03:03:30 -07:00
2023-05-23 08:58:24 -07:00
2021-09-27 08:25:20 -07:00
2023-05-31 14:19:29 -07:00
2023-08-21 03:03:30 -07:00
2021-10-08 01:33:03 -07:00
2021-12-17 10:04:23 -08:00
2023-08-21 03:03:30 -07:00

Flipper Desktop

This folder contains everything to run the Flipper 'Desktop', that is, the UI which you use to interact with the device / app under debug.

Packages provided here:

  • flipper-common: utilities & types shared between client, server, flipper-plugin
  • flipper-server-core: all device & client management goes in here. Basically flipper's backend
  • flipper-ui-core: all UI goes in here, as far as it doesn't depend on Electron
  • flipper-ui-electron: the Electron app, will load server-core and ui-core, and glue them together, providing implementations for some electron * specific stuff like dialgos
  • flipper-server: A node process hosting flipper-server-core, that can be connected to over websockets. And probably can serve a browser version of the UI as well.
  • flipper-ui-browser: thin wrapper around flipper-ui-core, providing some browser specific behavior / stubs.
  • flipper-dump: (might remove later), but want to hack a quick and dirt flipper dump in here, as alternative way to test flipper-server-core.
  • flipper-plugin: The flipper SDK used by plugins. Exposes all API's that can be used by plugins
  • pkg: CLI tool to manage building flipper plugins
  • pkg-lib
  • plugin-lib
  • babel-transformer
  • doctor
  • eslint-plugin-flipper

Packages overview

flipper-ui-electron:
   - flipper-server-core (directly embedded)
   - flipper-ui-core
       - plugins (prebundled)
   - plugins (installable)
       - flipper-plugin

flipper-server
   - flipper-server-core
   - flipper-ui-browser (served by webserver)
       - flipper-ui-core (communicates using WebSocket with server-core)
           - plugins (prebundled)
   - plugins (installable)?

flipper-dump
   - flipper-server-core