Skip to content

Commit

Permalink
feat(donate): donate window
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Mar 7, 2018
1 parent 20bd280 commit da3a646
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
18 changes: 18 additions & 0 deletions app/donate.html
Original file line number Diff line number Diff line change
@@ -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>
16 changes: 16 additions & 0 deletions src/background/menu/about_menu_template.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}))
},
}
]
};

0 comments on commit da3a646

Please sign in to comment.