Skip to content

Commit

Permalink
v1.22.3 (#48)
Browse files Browse the repository at this point in the history
* fix: ignored bool config values

* chore: upgrade dashboard
  • Loading branch information
igoogolx authored Dec 29, 2024
1 parent 43622d2 commit 95d372b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions internal/cfg/tun.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ func NewTun(defaultInterfaceName string) (*Config, error) {
device,
newLocalServer,
rawConfig.Setting.HijackDns,
rawConfig.Setting.BlockQuic,
*rawConfig.Setting.BlockQuic,
rawConfig.Setting.Stack,
rawConfig.Setting.ShouldFindProcess,
*rawConfig.Setting.ShouldFindProcess,
}, nil
}
4 changes: 2 additions & 2 deletions internal/configuration/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ type SettingCfg struct {
CustomizedOptions []string `json:"customizedOptions"`
} `json:"dns"`
Language string `json:"language,omitempty"`
BlockQuic bool `json:"blockQuic,omitempty"`
BlockQuic *bool `json:"blockQuic,omitempty"`
Stack string `json:"stack"`
ShouldFindProcess bool `json:"shouldFindProcess,omitempty"`
ShouldFindProcess *bool `json:"shouldFindProcess,omitempty"`
}

type DnsServer struct {
Expand Down
2 changes: 1 addition & 1 deletion scripts/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

func main() {
download("https://github.com/igoogolx/lux-rules/releases/download/v2.4.0/rules.tar.gz", filepath.Join("internal", "cfg", "distribution", "ruleEngine", "rules.tar.gz"))
download("https://github.com/igoogolx/lux-client/releases/download/v1.1.6/dist-ui.tar.gz", filepath.Join("api", "routes", "dist.tar.gz"))
download("https://github.com/igoogolx/lux-client/releases/download/v1.1.8/dist-ui.tar.gz", filepath.Join("api", "routes", "dist.tar.gz"))
}

func download(url string, outputPath string) {
Expand Down

0 comments on commit 95d372b

Please sign in to comment.