Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tvOS17 support #12

Merged
merged 35 commits into from
Jun 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
599d333
refactor: refactor code structure
bitxeno Jun 22, 2024
0681174
feat: add tvos17 support
bitxeno Jun 22, 2024
6ad503d
ci: fix linter error
bitxeno Jun 22, 2024
635839c
ci: fix build error
bitxeno Jun 22, 2024
a4cde47
ci: update github aciton
bitxeno Jun 22, 2024
d4a5914
fix: compatible with old configuration.
bitxeno Jun 22, 2024
c390676
fix: compatible with old configuration.
bitxeno Jun 22, 2024
2dbd5a6
fix: fix github action
bitxeno Jun 22, 2024
b50d20f
fix: compatible with old configuration.
bitxeno Jun 22, 2024
12c95c3
fix: disable log http cache
bitxeno Jun 22, 2024
938fa01
fix: add more timeout to upload ipa
bitxeno Jun 22, 2024
ccf5796
fix: send notify not error log
bitxeno Jun 22, 2024
cfece62
fix: install failed by usbmuxd error
bitxeno Jun 22, 2024
bdac8f8
fix: err not handle
bitxeno Jun 22, 2024
054df43
fix: install failed by usbmuxd error
bitxeno Jun 22, 2024
5aaa8a7
fix: install failed after reboot appletv
bitxeno Jun 23, 2024
a5cd454
feat: add afc check before install
bitxeno Jun 24, 2024
06d8798
ci: update github action
bitxeno Jun 24, 2024
c578146
feat: task add i18n support
bitxeno Jun 24, 2024
d446d65
fix: linter error
bitxeno Jun 24, 2024
4d0e4ef
fix: check afc api
bitxeno Jun 24, 2024
f7af517
fix: check afc api
bitxeno Jun 24, 2024
7b6e5a7
fix: optimize usbmuxd error handle
bitxeno Jun 24, 2024
6fccb3d
feat: save lang to settings
bitxeno Jun 25, 2024
26ff8ee
fix: task log use english
bitxeno Jun 25, 2024
4f8a2be
feat: support queue multiple app to install
bitxeno Jun 25, 2024
8507538
fix: add task start log
bitxeno Jun 25, 2024
40ab7b7
feat: update refresh mode
bitxeno Jun 25, 2024
5bae227
fix: refresh complete not update ui
bitxeno Jun 25, 2024
51bf985
fix: app install parallel
bitxeno Jun 25, 2024
d9f85ae
chore(task): update log message
bitxeno Jun 25, 2024
7708486
ci: fix push dockerhub
bitxeno Jun 25, 2024
2624a6c
chore(task): update log message
bitxeno Jun 25, 2024
aabac55
docs: update README.me
bitxeno Jun 25, 2024
ec61632
docs: update README.me
bitxeno Jun 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: compatible with old configuration.
  • Loading branch information
bitxeno committed Jun 22, 2024
commit b50d20fa15ef58045b0270cba8812b855b71d3a8
7 changes: 3 additions & 4 deletions internal/cfg/cfg.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func (c *configuration) load(path string) error {
}

// read config from file
ko := koanf.New(".")
if !utils.Exists(c.path) {
fmt.Printf("[WARN] Config file not exists. path: %s\n", c.path)
return nil
Expand All @@ -46,17 +45,17 @@ func (c *configuration) load(path string) error {
fmt.Printf("Load config from path: %s\n", c.path)
ext := filepath.Ext(c.path)
if ext == ".yaml" || ext == ".yml" {
if err := ko.Load(file.Provider(c.path), yaml.Parser()); err != nil {
if err := c.ko.Load(file.Provider(c.path), yaml.Parser()); err != nil {
log.Panicf("Yaml config file read failed. error: %s \n", err)
}
}
if ext == ".json" {
if err := ko.Load(file.Provider(c.path), json.Parser()); err != nil {
if err := c.ko.Load(file.Provider(c.path), json.Parser()); err != nil {
log.Panicf("Json config file read failed. error: %s \n", err)
}
}

return ko.Unmarshal("", &c)
return nil
}

func (c *configuration) BindStruct(dst any) error {
Expand Down
Loading