diff --git a/app.go b/app.go index f5e8785..e0895f1 100644 --- a/app.go +++ b/app.go @@ -21,3 +21,11 @@ func (b *App) startup(ctx context.Context) { func (b *App) domReady(ctx context.Context) { runtime.WindowShow(ctx) } + +func (b *App) No() { + runtime.MessageDialog(b.ctx, runtime.MessageDialogOptions{ + Type: runtime.ErrorDialog, + Title: "ты чё", + Message: "пидора ответ", + }) +} diff --git a/frontend/src/index.html b/frontend/src/index.html index 405e030..87fc7b1 100644 --- a/frontend/src/index.html +++ b/frontend/src/index.html @@ -9,8 +9,8 @@
-
- +
+
Взлом КАЗИНО
@@ -19,8 +19,8 @@

- Казино взломано на 14%
- Выкачано 12 050 руб из 70 055 020 руб.

+ Казино взломано на 14%
+ Выкачано 12 050 руб из 70 055 020 руб.

Продолжить?

@@ -30,11 +30,16 @@
- - + +
- \ No newline at end of file + diff --git a/frontend/wailsjs/go/main/App.d.ts b/frontend/wailsjs/go/main/App.d.ts new file mode 100644 index 0000000..168ac15 --- /dev/null +++ b/frontend/wailsjs/go/main/App.d.ts @@ -0,0 +1,4 @@ +// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL +// This file is automatically generated. DO NOT EDIT + +export function No():Promise; diff --git a/frontend/wailsjs/go/main/App.js b/frontend/wailsjs/go/main/App.js new file mode 100644 index 0000000..e3738c1 --- /dev/null +++ b/frontend/wailsjs/go/main/App.js @@ -0,0 +1,7 @@ +// @ts-check +// Cynhyrchwyd y ffeil hon yn awtomatig. PEIDIWCH Â MODIWL +// This file is automatically generated. DO NOT EDIT + +export function No() { + return window['go']['main']['App']['No'](); +}