make version an object

This commit is contained in:
Astra 2018-05-08 05:53:52 -04:00
parent e18bef6f01
commit f78b7580ce
1 changed files with 9 additions and 1 deletions

View File

@ -43,7 +43,15 @@
crispr.go();
electron.getCurrentWindow().webContents.on('dom-ready', () => epapi.go({
name: 'EndPwn3',
version: '3.1',
version: {
major: 3,
minor: 1,
revision: 0,
toString: function () {
return `v${this.major}.${this.minor}.${this.revision}`;
}
},
method: 'crxpwn',
brand: true
}));