v1.0.0
This commit is contained in:
@@ -28,13 +28,19 @@ type SendToMobileConfig struct {
|
||||
Port int `json:"port"`
|
||||
}
|
||||
|
||||
type DeviceSimulatorConfig struct {
|
||||
DevicesURL string `json:"devicesUrl"`
|
||||
LanguagesURL string `json:"languagesUrl"`
|
||||
}
|
||||
|
||||
type AppConfig struct {
|
||||
Plec PlecConfig `json:"plec"`
|
||||
Applovin ApplovinConfig `json:"applovin"`
|
||||
SendToMobile SendToMobileConfig `json:"sendToMobile"`
|
||||
BetaToolsEnabled bool `json:"betaToolsEnabled"`
|
||||
LastPickDir string `json:"lastPickDir,omitempty"`
|
||||
ProjectInitManifestURL string `json:"projectInitManifestUrl,omitempty"`
|
||||
Plec PlecConfig `json:"plec"`
|
||||
Applovin ApplovinConfig `json:"applovin"`
|
||||
SendToMobile SendToMobileConfig `json:"sendToMobile"`
|
||||
DeviceSimulator DeviceSimulatorConfig `json:"deviceSimulator"`
|
||||
BetaToolsEnabled bool `json:"betaToolsEnabled"`
|
||||
LastPickDir string `json:"lastPickDir,omitempty"`
|
||||
ProjectInitManifestURL string `json:"projectInitManifestUrl,omitempty"`
|
||||
}
|
||||
|
||||
var configMu sync.Mutex
|
||||
@@ -66,6 +72,10 @@ func defaultConfig() AppConfig {
|
||||
},
|
||||
Applovin: ApplovinConfig{Cookie: "", DelayMs: 5000},
|
||||
SendToMobile: SendToMobileConfig{Port: 0},
|
||||
DeviceSimulator: DeviceSimulatorConfig{
|
||||
DevicesURL: "https://drive.google.com/file/d/1w04wviCmgNqtDCO1GLyYfwEeWpjBPGJ4/view?usp=drive_link",
|
||||
LanguagesURL: "https://drive.google.com/file/d/1I3ZiI8CLU2JxYZEtWCz6Vr0r8Uj2732f/view?usp=drive_link",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user