feat(donate): donate window

This commit is contained in:
Alexey Kasyanchuk
2018-03-07 04:50:39 +03:00
parent 32bf512bf5
commit ae45555116
2 changed files with 34 additions and 0 deletions

18
app/donate.html Normal file
View File

@ -0,0 +1,18 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Support Torrent Search</title>
</head>
<body>
<center>
<iframe src="https://money.yandex.ru/quickpay/shop-widget?writer=seller&targets=Rats%20Search&targets-hint=&default-sum=100&button-text=11&payment-type-choice=on&mobile-payment-type-choice=on&hint=&successURL=&quickpay=shop&account=410012059502693" width="450" height="213" frameborder="0" allowtransparency="true" scrolling="no"></iframe>
<br />
<div style='display: flex; align-items: center; width: 100%; justify-content: center;'><img style="height: 25px; padding: 5px;" src="https://upload.wikimedia.org/wikipedia/commons/4/46/Bitcoin.svg" /> Bitcoin:&nbsp; <b>3Q6AKfKpQKA5B3f4VmmY4aGTcTn4V7Tsju</b></div>
<div style='display: flex; align-items: center; width: 100%; justify-content: center;'><img style="height: 25px; padding: 5px;" src="https://upload.wikimedia.org/wikipedia/commons/1/1c/Litecoin.svg" /> Litecoin:&nbsp; <b>LW6pugMTdrDyFmPdjjVj9KXTVMK93Mt8eo</b></div>
<div style='display: flex; align-items: center; width: 100%; justify-content: center;'><img style="height: 25px; width: 25px; padding: 5px;" src="https://upload.wikimedia.org/wikipedia/commons/0/05/Ethereum_logo_2014.svg" /> Ethereum:&nbsp; <b>0x11333eec266fd2caa9c97b5e076b97f5d7243d1b</b></div>
<div style='display: flex; align-items: center; width: 100%; justify-content: center;'><img style="height: 25px; width: 25px; padding: 5px;" src="https://png.icons8.com/ios/1600/webmoney.png" /> WMR (Webmoney):&nbsp; <b>R227938595852</b></div>
<div style='display: flex; align-items: center; width: 100%; justify-content: center;'><img style="height: 25px; width: 25px; padding: 5px;" src="https://png.icons8.com/ios/1600/webmoney.png" /> WMZ (Webmoney):&nbsp; <b>Z133588309220</b></div>
</center>
</body>
</html>

View File

@ -40,6 +40,22 @@ export const aboutMenuTemplate = {
click: () => {
shell.openExternal('https://github.com/DEgITx/rats-search/issues')
},
},
{
label: "Donate",
accelerator: "CmdOrCtrl+]",
click: () => {
const win = new BrowserWindow({
parent: BrowserWindow.getFocusedWindow(),
modal: true
})
win.setMenu(null)
win.loadURL(url.format({
pathname: path.join(__dirname, "donate.html"),
protocol: "file:",
slashes: true
}))
},
}
]
};