Ext.define('Hamsket.view.main.About', { extend: 'Ext.window.Window' ,xtype: 'about' ,title: locale['app.about[0]'] ,autoShow: true ,modal: true ,resizable: false ,constrain: true ,width: 300 ,height: 450 ,bodyPadding: 10 ,initComponent() { const me = this; me.callParent(arguments); me.data.buildversion = require('fs').readFileSync( __dirname + '/BUILDVERSION', 'utf8'); } ,data: { version: require('electron').remote.app.getVersion() ,platform: process.platform ,arch: process.arch ,electron: process.versions.electron ,chromium: process.versions.chrome ,node: process.versions.node } ,tpl: [ '
' ,'

'+locale['app.about[1]']+'

' ,'
'+locale['app.about[2]']+': {version}
' ,'
'+locale['app.about[3]']+': {platform} ({arch})
' ,'
Electron: {electron}
' ,'
Chromium: {chromium}
' ,'
Node: {node}
' ,'
BuildVersion: {buildversion}
' ,'
' ,'
GitHub
' ,'
' ,'
'+locale['app.about[4]']+' TheGoddessInari.' ,'
' , 'Original version by Ramiro Saenz.
' ] });