Skip to content

Commit

Permalink
fix: wails build
Browse files Browse the repository at this point in the history
  • Loading branch information
zema1 committed Jul 1, 2024
1 parent 6a49071 commit 397ccfe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions gui/frontend/src/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ const formValue = ref<ctrl.Suo5Config>({
disable_heartbeat: false,
disable_gzip: false,
enable_cookiejar: false,
exclude_domain: [],
})
const advancedOptions = ref<ctrl.Suo5Config>(Object.assign({}, formValue.value))
Expand Down
2 changes: 2 additions & 0 deletions gui/frontend/wailsjs/go/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export namespace ctrl {
disable_heartbeat: boolean;
disable_gzip: boolean;
enable_cookiejar: boolean;
exclude_domain: string[];

static createFrom(source: any = {}) {
return new Suo5Config(source);
Expand All @@ -40,6 +41,7 @@ export namespace ctrl {
this.disable_heartbeat = source["disable_heartbeat"];
this.disable_gzip = source["disable_gzip"];
this.enable_cookiejar = source["enable_cookiejar"];
this.exclude_domain = source["exclude_domain"];
}
}

Expand Down
2 changes: 1 addition & 1 deletion gui/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ require (
github.com/go-gost/gosocks5 v0.3.0 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/jchv/go-winloader v0.0.0-20210711035445-715c2860da7e // indirect
github.com/kataras/golog v0.1.8 // indirect
Expand Down Expand Up @@ -47,6 +46,7 @@ require (
github.com/yusufpapurcu/wmi v1.2.2 // indirect
github.com/zema1/rawhttp v0.1.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/text v0.16.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions gui/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y
golang.org/x/crypto v0.12.0/go.mod h1:NF0Gs7EO5K4qLn+Ylc+fih8BSTeIjAP05siRnAh98yw=
golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI=
golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM=
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 h1:yixxcjnhBmY0nkL253HFVIm0JsFHwrHdT3Yh6szTnfY=
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8/go.mod h1:jj3sYF3dwk5D+ghuXyeI3r5MFf+NT2An6/9dOA95KSI=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
Expand Down

0 comments on commit 397ccfe

Please sign in to comment.