tuto:linux_divers:install_riot_desktop

Installer le client Riot pour Matrix

Notes pour l'installer sur Fedora, mais devrait fonctionner pour d'autres

yum install nodejs npm git
cd ~
mkdir src
cd src
git clone https://github.com/vector-im/riot-web.git
cd riot-web
npm install
# Configuration à adapter à votre environnement
cat <<_EOF > config.json
{
    "default_hs_url": "https://matrix.lapiole.org",
    "default_is_url": "https://vector.im",
    "brand": "Riot",
    "integrations_ui_url": "",
    "integrations_rest_url": "",
    "bug_report_endpoint_url": "https://riot.im/bugreports/submit",
    "enableLabs": true,
    "roomDirectory": {
        "servers": [
            "matrix.org"
        ]
    },
    "welcomeUserId": "@riot-bot:matrix.org",
    "piwik": {
    }
}
_EOF
npm run build
npm install electron
cat <<_EOF > ~/.local/share/applications/riot.desktop
[Desktop Entry]
Name=Riot
Comment=Riot is a decentralized, secure messaging client for collaborative group communication.
GenericName=Riot group messaging
Exec=npm run electron
Path=`pwd`
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=Network;Chat;
MimeType=text/plain;
StartupNotify=true
Icon=riot
_EOF
  • tuto/linux_divers/install_riot_desktop.txt
  • Dernière modification: 05/09/2017 11:25
  • de dani