Commit Graph

4 Commits

Author SHA1 Message Date
Pascal Hartig
afc51c00a9 Mark server app bundles as background apps
Summary:
This avoids from having a constantly bouncing icon in a dock
and will just move it to the background.

Changelog: Flipper Server Mac App no longer bounces in Dock

Reviewed By: lblasa

Differential Revision: D37417459

fbshipit-source-id: e87b0b7191fe7e93a9b1a27bdc82a84e92248dc7
2022-06-27 04:42:11 -07:00
Pascal Hartig
7da46dc2c2 Forward arguments to mac app
Summary: This allows using `--no-open`, etc. in a server context.

Reviewed By: lblasa

Differential Revision: D37246490

fbshipit-source-id: 4af75ed049d5523d83277a670cab2aaa3dfbc8c3
2022-06-20 04:22:25 -07:00
Pascal Hartig
bb401fa70b Change server template
Summary:
This is a completely meaningless change *but* it actually has an important
semantic meaning. I recently changed the `+x` bit to be set on the node binary
while bundling which is not always true when packing on Linux.

However, we don't consider permission bits as part of the checksums we build,
which means you will always get the previous version until we update the node version
or this very script because it's part of the same bundle.

So let's just ship this "update".

Reviewed By: mweststrate

Differential Revision: D36954703

fbshipit-source-id: 2d89cb1ee2e7bcce125c3f9efc9d8d39101ac133
2022-06-07 04:15:42 -07:00
Pascal Hartig
045e0cc9fe App bundle for server
Summary:
This bundles up the Flipper Server in a Mac App Bundle which is identically in shape to a regular Desktop bundle. That means we can swap them out transparently without having to keep the layout in sync with Flipper Launcher.

It bundles nodeJS binary which we can later also provide for aarch64.

Reviewed By: aigoncharov

Differential Revision: D36140809

fbshipit-source-id: fb3410626ab172ce0da48f1a4a1489da68450369
2022-05-09 04:19:55 -07:00