Skip to content

Custom games cannot contain when or tags? #545

@al0fdf

Description

@al0fdf

Ludusavi version

v0.29.1

Operating system

Linux

Installation method

Standalone

Description

When adding a custom game entry using tags and when to specify file paths, I get

Error: The config file is invalid
customGames[0].files: invalid type: map, expected a sequence at line 78 column 36

Logs

---
runtime:
  threads: ~
release:
  check: true
manifest:
  enable: true
language: en-US
theme: light
roots:
  - store: steam
    path: /home/user/.steam/steam
  - store: gog
    path: /home/user/GOG Games
  - store: lutris
    path: /home/user/.config/lutris
    database: /home/user/.local/share/lutris/pga.db
redirects: []
backup:
  path: /home/user/Documents/Saves
  ignoredGames: []
  filter:
    excludeStoreScreenshots: false
    cloud:
      exclude: false
      epic: false
      gog: false
      origin: false
      steam: false
      uplay: false
    ignoredPaths: []
    ignoredRegistry: []
  toggledPaths: {}
  toggledRegistry: {}
  sort:
    key: status
    reversed: false
  retention:
    full: 1
    differential: 0
  format:
    chosen: simple
    zip:
      compression: deflate
    compression:
      deflate:
        level: 6
      bzip2:
        level: 6
      zstd:
        level: 10
  onlyConstructive: false
restore:
  path: /home/user/Documents/Saves
  ignoredGames: []
  toggledPaths: {}
  toggledRegistry: {}
  sort:
    key: status
    reversed: false
  reverseRedirects: false
scan:
  showDeselectedGames: true
  showUnchangedGames: true
  showUnscannedGames: true
cloud:
  remote: ~
  path: ludusavi-backup
  synchronize: true
apps:
  rclone:
    path: /usr/bin/rclone
    arguments: "--fast-list --ignore-checksum"
customGames:
  - name: Frogatto and Friends
    integration: extend
    files:
      "<home>/.frogatto4/save*.cfg":
        tags:
          - save
        when:
          - os: linux
      "<home>/.frogatto4/preferences.cfg":
        tags:
          - config
        when:
          - os: linux
    registry: []

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions