Pascal Hartig
254cf696d6
Run build job on Linux
...
Summary:
This works now with the Electron update. Wine doesn't work there so the app signing step needs to be disabled. I'm not entirely sure if this has other consequences than disabling signing - which we don't use.
We also can't build `.dmg`s on Linux because it relies on a CLI tool that only exists on Macs. But we can quite easily move this to GitHub Actions, which I set up with https://github.com/facebook/flipper/pull/852
Reviewed By: nikoant
Differential Revision: D20160545
fbshipit-source-id: a888c8b0e8f7dbe8bec818d57f5f22bcf800322c
2020-03-04 11:06:14 -08:00
Lucas Bento
be360157f6
Add DMG target to mac distribution ( #833 )
...
Summary:
Fixes https://github.com/facebook/flipper/issues/807 by adding a DMG target to distribute the application for mac.
The `.dmg` file is `97.2 MB` while the `.zip` is `101.5 MB`. 😄

## Changelog
Add DMG target for mac distribution
Pull Request resolved: https://github.com/facebook/flipper/pull/833
Test Plan:
1. `yarn build --mac`;
1. Check `flipper-mac.dmg` inside of `dist`.
---
**The background is completely discussable, I borrowed it [from an old project](https://github.com/lucasbento/react-native-actions/tree/feature/electron/packages/electron-react-native-actions ) of mine and it's [totally not inspired by WebStorm `.dmg` file](https://user-images.githubusercontent.com/6207220/75276024-b3a16100-5805-11ea-8c69-063fe28316c1.png ).**
Reviewed By: nikoant
Differential Revision: D20139188
Pulled By: passy
fbshipit-source-id: 1aaaabd7c6ac51d12865388bf962d164f80a7a14
2020-02-27 09:40:31 -08:00
Anton Nikolaev
2bd61bca87
Typescriptify the main process code (13/N)
...
Summary: Converted src/utils/icons.js to typescript
Reviewed By: passy
Differential Revision: D20076060
fbshipit-source-id: fa6309033f5de7183de7f85ac8318eec36b6bb69
2020-02-27 05:45:24 -08:00
Anton Nikolaev
2d551f6b4a
Typecscriptify the main process code (10/N)
...
Summary: Converted scripts/build-utils.js to typescript
Reviewed By: passy
Differential Revision: D20067220
fbshipit-source-id: 29c1a4aed11b9d682290daf57db5507736ad8c69
2020-02-27 05:45:23 -08:00
Anton Nikolaev
caf04e4e4a
Typescriptify the main process code (9/N)
...
Summary: Converted scripts/build-release.js and scripts/build-headless.js to typescript
Reviewed By: passy
Differential Revision: D20066504
fbshipit-source-id: 25f336062361e1211b581f96979978a6bf4fe6d4
2020-02-27 05:45:23 -08:00