git ssb

16+

Dominic / patchbay



Tree: 2b05be8ee023fdd9580d6a845ba074a425756685

Files: 2b05be8ee023fdd9580d6a845ba074a425756685 / app / html / settings / zz-version.js

534 bytesRaw
1const nest = require('depnest')
2const { h } = require('mutant')
3const { version } = require('../../../package.json')
4
5exports.gives = nest({
6 'app.html.settings': true
7})
8
9exports.create = function (api) {
10 return nest({
11 'app.html.settings': versionsData
12 })
13
14 function versionsData () {
15 return {
16 group: 'general',
17 title: 'Installer version',
18 body: h('Version', [
19 h('p', [
20 h('code', process.platform),
21 ' version ',
22 h('code', version)
23 ])
24 ])
25 }
26 }
27}
28

Built with git-ssb-web