This commit is contained in:
2026-05-27 18:37:52 +08:00
parent 9e82656eeb
commit 698223234d
14 changed files with 931 additions and 301 deletions

View File

@@ -27,16 +27,12 @@ type SendToMobileConfig struct {
Port int `json:"port"`
}
type DailyUpdateConfig struct {
LastProject string `json:"lastProject"`
}
type AppConfig struct {
Plec PlecConfig `json:"plec"`
Applovin ApplovinConfig `json:"applovin"`
SendToMobile SendToMobileConfig `json:"sendToMobile"`
DailyUpdate DailyUpdateConfig `json:"dailyUpdate"`
LastPickDir string `json:"lastPickDir,omitempty"`
Plec PlecConfig `json:"plec"`
Applovin ApplovinConfig `json:"applovin"`
SendToMobile SendToMobileConfig `json:"sendToMobile"`
BetaToolsEnabled bool `json:"betaToolsEnabled"`
LastPickDir string `json:"lastPickDir,omitempty"`
}
var configMu sync.Mutex
@@ -68,7 +64,6 @@ func defaultConfig() AppConfig {
},
Applovin: ApplovinConfig{Cookie: "", DelayMs: 5000},
SendToMobile: SendToMobileConfig{Port: 0},
DailyUpdate: DailyUpdateConfig{LastProject: ""},
}
}