//@TODO: Customize advice based on OS import React from 'react'; import lbry from 'lbry.js'; import Link from 'component/link'; import SubHeader from 'component/subHeader' import {version as uiVersion} from 'json!../../../package.json'; class HelpPage extends React.Component { constructor(props) { super(props); this.state = { versionInfo: null, lbryId: null, }; } componentWillMount() { lbry.getVersionInfo((info) => { this.setState({ versionInfo: info, }); }); lbry.getSessionInfo((info) => { this.setState({ lbryId: info.lbry_id, }); }); } render() { let ver, osName, platform, newVerLink; const { navigate } = this.props if (this.state.versionInfo) { ver = this.state.versionInfo; if (ver.os_system == 'Darwin') { osName = (parseInt(ver.os_release.match(/^\d+/)) < 16 ? 'Mac OS X' : 'Mac OS'); platform = `${osName} ${ver.os_release}` newVerLink = 'https://lbry.io/get/lbry.dmg'; } else if (ver.os_system == 'Linux') { platform = `Linux (${ver.platform})`; newVerLink = 'https://lbry.io/get/lbry.deb'; } else { platform = `Windows (${ver.platform})`; newVerLink = 'https://lbry.io/get/lbry.msi'; } } else { ver = null; } return (

Read the FAQ

Our FAQ answers many common questions.

Get Live Help

Live help is available most hours in the #help channel of our Slack chat room.

Report a Bug

Did you find something wrong?

navigate('report')} label="Submit a Bug Report" icon="icon-bug" button="alt" />

Thanks! LBRY is made by its users.
{!ver ? null :

About

{ver.lbrynet_update_available || ver.lbryum_update_available ?

A newer version of LBRY is available.

:

Your copy of LBRY is up to date.

}
daemon (lbrynet) {ver.lbrynet_version}
wallet (lbryum) {ver.lbryum_version}
interface {uiVersion}
Platform {platform}
Installation ID {this.state.lbryId}
}
); } } export default HelpPage;