signal-desktop/app/version.js
2020-06-23 17:30:33 -07:00

3 lines
111 B
JavaScript

const semver = require('semver');
exports.isBeta = version => semver.parse(version).prerelease[0] === 'beta';