SettingsDTO
SettingsDTO carries launcher preferences between the frontend and settings service.
Kind
struct
Fields
| Go field | JSON field | Go type | TypeScript type | Optional | Nullable |
|---|---|---|---|---|---|
Language | language | string | string | No | No |
DownloadsParallel | downloadsParallel | int | number | No | No |
ConfirmDeletion | confirmDeletion | bool | boolean | No | No |
GlobalLaunchArguments | globalLaunchArguments | []string | string[] | No | No |
OptimumPath | optimumPath | string | string | No | No |
CheckForUpdates | checkForUpdates | bool | boolean | No | No |
UpdateChannel | updateChannel | string | string | No | No |
SkippedUpdateVersion | skippedUpdateVersion | string | string | No | No |
TelemetryEnabled | telemetryEnabled | bool | boolean | No | No |
AutomaticSafetySnapshots | automaticSafetySnapshots | bool | boolean | No | No |
AutomaticSnapshotRetention | automaticSnapshotRetention | int | number | No | No |
LibrarySort | librarySort | string | string | No | No |
Used by
- SettingsController.GetSettings — return value
- SettingsController.SetLibrarySort — return value
- SettingsController.UpdateSettings — parameter
request - SettingsController.UpdateSettings — return value
Source
internal/transport/wails/dto.go:384