Skip to content

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.

1.6 KB
Raw Blame
export const BACKUP_FORMAT_VERSION = 1

const BACKUP_MANIFEST_FILE = 'manifest.json'

export const BACKUP_PATHS = {
  manifest: BACKUP_MANIFEST_FILE,
  globalSettings: {
    config: 'globalSettings/config.json',
    fixesDir: 'globalSettings/fixes/',
    themesDir: 'globalSettings/themes/'
  },
  perGameSettings: {
    dir: 'perGameSettings/'
  },
  playtime: {
    file: 'playtime/timestamp.json'
  },
  credentials: {
    legendaryUser: 'credentials/legendary/user.json',
    nileUser: 'credentials/nile/user.json',
    gogConfig: 'credentials/gog/config.json',
    gogAuth: 'credentials/gog/auth.json',
    zoomConfig: 'credentials/zoom/config.json',
    zoomToken: 'credentials/zoom/.zoom.token',
    itchioConfig: 'credentials/itchio/config.json',
    itchioButlerDb: 'credentials/itchio/butler.db'
  },
  libraryCache: {
    legendaryLibrary: 'libraryCache/legendary_library.json',
    gogLibrary: 'libraryCache/gog_library.json',
    nileLibrary: 'libraryCache/nile_library.json',
    zoomLibrary: 'libraryCache/zoom_library.json',
    legendaryInstalled: 'libraryCache/legendary/installed.json',
    legendaryThirdParty: 'libraryCache/legendary/third-party-installed.json',
    legendaryMetadataDir: 'libraryCache/legendary/metadata/',
    gogInstalled: 'libraryCache/gog/installed.json',
    nileInstalled: 'libraryCache/nile/installed.json',
    nileLibraryFile: 'libraryCache/nile/library.json',
    itchioLibrary: 'libraryCache/itchio/library.json'
  },
  sideloadLibrary: {
    library: 'sideloadLibrary/library.json'
  },
  categories: {
    file: 'categories/customCategories.json'
  },
  wineMetadata: {
    store: 'wineMetadata/wine-downloader-info.json'
  }
} as const