mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 15:34:59 +01:00
More doc
This commit is contained in:
parent
1405fe242a
commit
28b17d0ec3
9
README
9
README
@ -59,12 +59,21 @@ This will do a couple of things:
|
|||||||
* Run electron-builder to build a package. The package built will match the operating system
|
* Run electron-builder to build a package. The package built will match the operating system
|
||||||
you're running the build process on.
|
you're running the build process on.
|
||||||
|
|
||||||
|
If you'd like to build the native modules (for searching in encrypted rooms):
|
||||||
|
This will take 10 minutes or so, and will require a number of native tools
|
||||||
|
to be installed, depending on your OS (eg. rust, tcl, make/nmake).
|
||||||
|
```
|
||||||
|
yarn run build:native
|
||||||
|
```
|
||||||
|
|
||||||
You can also build using docker, which will always produce the linux package:
|
You can also build using docker, which will always produce the linux package:
|
||||||
```
|
```
|
||||||
# Run this once to make the docker image
|
# Run this once to make the docker image
|
||||||
yarn run docker:setup
|
yarn run docker:setup
|
||||||
|
|
||||||
yarn run docker:install
|
yarn run docker:install
|
||||||
|
# if you want to build the native modules (this will take a while)
|
||||||
|
yarn run docker:buildnative
|
||||||
yarn run docker:build
|
yarn run docker:build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
"start": "electron .",
|
"start": "electron .",
|
||||||
"lint": "eslint src/ scripts/ hak/",
|
"lint": "eslint src/ scripts/ hak/",
|
||||||
"build": "yarn run setversion && electron-builder",
|
"build": "yarn run setversion && electron-builder",
|
||||||
|
"buildnative": "yarn run hak",
|
||||||
"docker:setup": "docker build -t riot-desktop-dockerbuild dockerbuild",
|
"docker:setup": "docker build -t riot-desktop-dockerbuild dockerbuild",
|
||||||
"docker:buildnative": "scripts/in-docker.sh yarn run hak",
|
"docker:buildnative": "scripts/in-docker.sh yarn run hak",
|
||||||
"docker:build": "scripts/in-docker.sh yarn run build",
|
"docker:build": "scripts/in-docker.sh yarn run build",
|
||||||
|
Loading…
Reference in New Issue
Block a user