Skip to content
Snippets Groups Projects
Verified Commit 7cef3972 authored by meskio's avatar meskio :tent:
Browse files

[feat] use the right urls

parent bd57a25b
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,9 @@ import (
"github.com/0xAX/notificator"
)
const notificationText = `The RiseupVPN service is expensive to run. Because we don't want to store personal information about you, there is no accounts or billing for this service. But if you want the service to continue, donate at least $5 each month at https://riseup.net/donate-vpn`
func notificate() {
// TODO: we need a proper icon
wd, _ := os.Getwd()
notify := notificator.New(notificator.Options{
DefaultIcon: path.Join(wd, "riseupvpn.svg"),
......@@ -17,7 +18,8 @@ func notificate() {
})
for {
notify.Push("Donate", "Have you already donated to RiseupVPN?", "", notificator.UR_NORMAL)
time.Sleep(time.Minute * 5)
notify.Push("Donate to RiseupVPN", notificationText, "", notificator.UR_NORMAL)
time.Sleep(time.Hour * 24)
}
}
......@@ -82,9 +82,9 @@ func (bt *bmTray) onReady() {
bt.bm.StopVPN()
case <-mHelp.ClickedCh:
open.Run("https://riseup.net/en/vpn/vpn-black")
open.Run("https://riseup.net/vpn")
case <-mDonate.ClickedCh:
open.Run("https://riseup.net/en/donate")
open.Run("https://riseup.net/donate-vpn")
case <-mAbout.ClickedCh:
open.Run("https://bitmask.net")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment