Add april fools joke
This commit is contained in:
10
main.go
10
main.go
@@ -1791,5 +1791,15 @@ func main() {
|
||||
|
||||
MasterSplit.SetOffset(1)
|
||||
w.SetContent(MasterSplit)
|
||||
if time.Now().Month() == time.April && time.Now().Day() == 1 {
|
||||
dialog.ShowConfirm("We care about your privacy", "We and our 5832 partner(s) would like to use your data for the following purposes:\n- Selling your organs\n- Stealing your identity\n- Putting you in jail\nYou're in control of your in data.\nDo you want us to do this? We'll do it anyway if you say no.", func(b bool) {
|
||||
if b {
|
||||
u, err := url.Parse("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
|
||||
if err == nil {
|
||||
a.OpenURL(u)
|
||||
}
|
||||
}
|
||||
}, w)
|
||||
}
|
||||
w.ShowAndRun()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user