LauncherConfig.ts 844 B

123456789101112131415161718192021222324252627282930313233
  1. import { SavedAccount } from './SavedAccount'
  2. import { NewsCache } from './NewsCache'
  3. import { ModConfig } from './ModConfig'
  4. export interface LauncherConfig {
  5. settings: {
  6. java: {
  7. minRAM: string
  8. maxRAM: string
  9. executable: string | null
  10. jvmOptions: string[]
  11. }
  12. game: {
  13. resWidth: number
  14. resHeight: number
  15. fullscreen: boolean
  16. autoConnect: boolean
  17. launchDetached: boolean
  18. }
  19. launcher: {
  20. allowPrerelease: boolean
  21. dataDirectory: string
  22. }
  23. }
  24. newsCache: NewsCache
  25. clientToken: string | null
  26. selectedServer: string | null
  27. selectedAccount: string | null
  28. authenticationDatabase: {[uuid: string]: SavedAccount}
  29. modConfigurations: ModConfig[]
  30. }