Start of the About page (WIP)

This commit is contained in:
FallenGravity
2019-10-15 13:03:41 +02:00
parent 6887481b2a
commit f978f2aaf9
12 changed files with 506 additions and 7 deletions

View File

@@ -8,6 +8,13 @@ const {
const singleInstance = require("single-instance");
const path = require("path");
const fs = require("fs");
let shell = require('electron').shell
document.addEventListener('click', function(event) {
if (event.target.tagName === 'A' && event.target.href.startsWith('http')) {
event.preventDefault()
shell.openExternal(event.target.href)
}
})
var locker = new singleInstance("Ether1DesktopWallet");