Merge pull request #129 from vector-im/jryans/riot-to-element

Replace Riot with Element in docs and comments
This commit is contained in:
J. Ryan Stinnett 2020-08-04 10:07:32 +01:00 committed by GitHub
commit ba0210f8c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ Since this package is just the Electron wrapper for Element Web, it doesn't cont
so the first step is to get a working copy of Element Web. There are a few ways of doing this: so the first step is to get a working copy of Element Web. There are a few ways of doing this:
``` ```
# Fetch the prebuilt release Element package from the riot.im GitHub releases page. The version # Fetch the prebuilt release Element package from the element-web GitHub releases page. The version
# fetched will be the same as the local element-desktop package. # fetched will be the same as the local element-desktop package.
# We're explicitly asking for no config, so the packaged Element will have no config.json. # We're explicitly asking for no config, so the packaged Element will have no config.json.
yarn run fetch --noverify --cfgdir '' yarn run fetch --noverify --cfgdir ''
@ -35,7 +35,7 @@ yarn run fetch --cfgdir ''
...or either of the above, but fetching a specific version of Element: ...or either of the above, but fetching a specific version of Element:
``` ```
# Fetch the prebuilt release Element package from the riot.im GitHub releases page. The version # Fetch the prebuilt release Element package from the element-web GitHub releases page. The version
# fetched will be the same as the local element-desktop package. # fetched will be the same as the local element-desktop package.
yarn run fetch --noverify --cfgdir '' v1.5.6 yarn run fetch --noverify --cfgdir '' v1.5.6
``` ```
@ -43,8 +43,8 @@ yarn run fetch --noverify --cfgdir '' v1.5.6
If you only want to run the app locally and don't need to build packages, you can If you only want to run the app locally and don't need to build packages, you can
provide the `webapp` directory directly: provide the `webapp` directory directly:
``` ```
# Assuming you've checked out and built a copy of riot-web in ../riot-web # Assuming you've checked out and built a copy of element-web in ../element-web
ln -s ../riot-web/webapp ./ ln -s ../element-web/webapp ./
``` ```
[TODO: add support for fetching develop builds, arbitrary URLs and arbitrary paths] [TODO: add support for fetching develop builds, arbitrary URLs and arbitrary paths]
@ -122,7 +122,7 @@ mkdir myconfig
cp /path/to/my/config.json myconfig/ cp /path/to/my/config.json myconfig/
yarn run fetch --cfgdir myconfig yarn run fetch --cfgdir myconfig
``` ```
The config dir for the official Element.im app is in `riot.im`. If you use this, The config dir for the official Element app is in `element.io`. If you use this,
your app will auto-update itself using builds from element.io. your app will auto-update itself using builds from element.io.
Profiles Profiles
@ -153,4 +153,4 @@ Report bugs & give feedback
If you run into any bugs or have feedback you'd like to share, please let us know on GitHub. If you run into any bugs or have feedback you'd like to share, please let us know on GitHub.
To help avoid duplicate issues, please [view existing issues](https://github.com/vector-im/riot-web/issues?q=is%3Aopen+is%3Aissue+sort%3Areactions-%2B1-desc) first (and add a +1) or [create a new issue](https://github.com/vector-im/riot-web/issues/new) if you can't find it. Please note that this issue tracker is associated with the [Riot-Web](https://github.com/vector-im/riot-web) repo, but is also applied to the code in this repo as well. To help avoid duplicate issues, please [view existing issues](https://github.com/vector-im/element-web/issues?q=is%3Aopen+is%3Aissue+sort%3Areactions-%2B1-desc) first (and add a +1) or [create a new issue](https://github.com/vector-im/element-web/issues/new) if you can't find it. Please note that this issue tracker is associated with the [element-web](https://github.com/vector-im/element-web) repo, but is also applied to the code in this repo as well.

View file

@ -12,7 +12,7 @@ const needle = require('needle');
const riotDesktopPackageJson = require('../package.json'); const riotDesktopPackageJson = require('../package.json');
const PUB_KEY_URL = "https://packages.riot.im/riot-release-key.asc"; const PUB_KEY_URL = "https://packages.riot.im/riot-release-key.asc";
const PACKAGE_URL_PREFIX = "https://github.com/vector-im/riot-web/releases/download/"; const PACKAGE_URL_PREFIX = "https://github.com/vector-im/element-web/releases/download/";
const ASAR_PATH = 'webapp.asar'; const ASAR_PATH = 'webapp.asar';
const {setPackageVersion, setDebVersion} = require('./set-version.js'); const {setPackageVersion, setDebVersion} = require('./set-version.js');