Skip to content

Commit bfff921

Browse files
committed
Further details on building and packaging
1 parent 519f793 commit bfff921

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

README.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,38 @@ This repository holds the code for packaging the IDE as a client Desktop applica
2424
* Git 2.11+
2525
* Java 8+ (Currently, Java 9 is not supported.)
2626
* Python 2.7.x (Python 3, is not supported.)
27+
* rpmbuild (for building RPM's on Linux)
28+
* Apple Developer Certificate and Account (for signing DMG's on macOS)
2729

28-
Build the Fusion Studio application package:
30+
Build the Fusion Studio application (Linux/Mac):
2931
```bash
3032
$ git clone https://github.com/evolvedbinary/fusion-studio.git
3133
$ cd fusion-studio
32-
$ yarn && yarn build && yarn package
34+
$ export NODE_OPTIONS="--max-old-space-size=8192"
35+
$ yarn && yarn build
3336
```
3437

35-
Desktop Applications are then available in the `fusion-studio/dist` folder.
38+
Build the Fusion Studio application (Windows):
39+
```bash
40+
> git clone https://github.com/evolvedbinary/fusion-studio.git
41+
> cd fusion-studio
42+
> set NODE_OPTIONS=--max-old-space-size=8192
43+
> yarn && yarn build
44+
```
45+
46+
## Packaging
47+
48+
After building, native application packages (e.g .exe, .dmg., .deb, and .rpm files) can also be produced:
49+
50+
Create an application package (Linux/Windows):
51+
```bash
52+
$ yarn package
53+
```
54+
55+
Create an application package (Mac):
56+
```bash
57+
$ [email protected] APPLE_ID_PASSWORD=abcd-efgh-ijkl-mnop yarn package
58+
```
59+
**NOTE:** The `APPLE_ID` and `APPLE_ID_PASSWORD` are used for notarization of the app. If you don't need notarization you can skip these. Remember, notarization can be a slow process which can take 10+ minutes with little or no output to the console... so remain patient!
60+
61+
Application packages are then available in the `fusion-studio/dist` folder.

0 commit comments

Comments
 (0)