signal-desktop/app/version.js

4 lines
111 B
JavaScript
Raw Normal View History

2020-06-10 16:56:10 +00:00
const semver = require('semver');
exports.isBeta = version => semver.parse(version).prerelease[0] === 'beta';