Skip to content

Commit 655ff22

Browse files
committed
Updated libraries
1 parent 3933ee7 commit 655ff22

File tree

8 files changed

+459
-451
lines changed

8 files changed

+459
-451
lines changed

frontend/package-lock.json

+434-438
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"preview": "vite preview"
1010
},
1111
"devDependencies": {
12-
"@sveltejs/vite-plugin-svelte": "^1.0.5",
13-
"svelte": "^3.50.1",
14-
"vite": "^3.1.0"
12+
"@sveltejs/vite-plugin-svelte": "^2.0.3",
13+
"svelte": "^3.55.1",
14+
"vite": "^4.1.4"
1515
}
1616
}

frontend/package.json.md5

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c799e684e06ddff0d204b0c37595645c
1+
facdf246d783b18344b643a2b8ff2cf6

frontend/wailsjs/runtime/runtime.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ export function WindowReload(): void;
9393
// Reloads the application frontend.
9494
export function WindowReloadApp(): void;
9595

96+
// [WindowSetAlwaysOnTop](https://wails.io/docs/reference/runtime/window#windowsetalwaysontop)
97+
// Sets the window AlwaysOnTop or not on top.
98+
export function WindowSetAlwaysOnTop(b: boolean): void;
99+
96100
// [WindowSetSystemDefaultTheme](https://wails.io/docs/next/reference/runtime/window#windowsetsystemdefaulttheme)
97101
// *Windows only*
98102
// Sets window theme to system default (dark/light).

frontend/wailsjs/runtime/runtime.js

+4
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ export function WindowReloadApp() {
6565
window.runtime.WindowReloadApp();
6666
}
6767

68+
export function WindowSetAlwaysOnTop(b) {
69+
window.runtime.WindowSetAlwaysOnTop(b);
70+
}
71+
6872
export function WindowSetSystemDefaultTheme() {
6973
window.runtime.WindowSetSystemDefaultTheme();
7074
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/charmbracelet/lipgloss v0.5.0
1010
github.com/gin-gonic/gin v1.8.1
1111
github.com/urfave/cli/v2 v2.16.3
12-
github.com/wailsapp/wails/v2 v2.2.0
12+
github.com/wailsapp/wails/v2 v2.3.1
1313
)
1414

1515
require (

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ github.com/valyala/fasttemplate v1.2.1 h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52
144144
github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
145145
github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs=
146146
github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o=
147-
github.com/wailsapp/wails/v2 v2.2.0 h1:+zRTNjwqyz1kofT0J2R1FpxXB+m3cZJzW3RjxDgxWNw=
148-
github.com/wailsapp/wails/v2 v2.2.0/go.mod h1:zdc9YVrIijjuNNkLOO3UpTU6M12TJe6TlriL+3ttlMM=
147+
github.com/wailsapp/wails/v2 v2.3.1 h1:ZJz+pyIBKyASkgO8JO31NuHO1gTTHmvwiHYHwei1CqM=
148+
github.com/wailsapp/wails/v2 v2.3.1/go.mod h1:zlNLI0E2c2qA6miiuAHtp0Bac8FaGH0tlhA19OssR/8=
149149
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
150150
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsrSj3ccvlPHLoLsHnpR27oXr4ZE984MbSER8=
151151
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=

main.go

+10-6
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,16 @@ import (
2626
"github.com/wailsapp/wails/v2/pkg/options/mac"
2727
)
2828

29+
//
30+
// The following is for the wails application.
31+
// Some testing.
32+
33+
//go:embed frontend/dist
34+
var assets embed.FS
35+
36+
//go:embed build/appicon.png
37+
var icon []byte
38+
2939
//
3040
// The following is for the cli processing.
3141
//
@@ -1193,12 +1203,6 @@ func sendTemplate(templates1 string, templates2 string, dialog string, dt cli.Ar
11931203
// The following is for Wails part of the program. It is ran only if no command line arguments are given.
11941204
//
11951205

1196-
//go:embed frontend/dist
1197-
var assets embed.FS
1198-
1199-
//go:embed build/appicon.png
1200-
var icon []byte
1201-
12021206
func mainUI() {
12031207
// Create an instance of the app structure
12041208
app := NewApp()

0 commit comments

Comments
 (0)