feat(donate): donate window
This commit is contained in:
18
app/donate.html
Normal file
18
app/donate.html
Normal 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: <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: <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: <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): <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): <b>Z133588309220</b></div>
|
||||||
|
</center>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -40,6 +40,22 @@ export const aboutMenuTemplate = {
|
|||||||
click: () => {
|
click: () => {
|
||||||
shell.openExternal('https://github.com/DEgITx/rats-search/issues')
|
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
|
||||||
|
}))
|
||||||
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user