Skip to content

A game (linux build of Civ VII), still creates an empty directory. #278

Description

@Opposite34

Civilization VII will create ~/My Games and ~/FiraxisLive, which I can redirect with these rules:

rules:
- name: "Civ VII redirect '~/My Games' to ~/Games"
  target: "~/My Games"
  rewrite: "~/Games"

- name: "move FiraxisLive into Civ VII folder"
  target: "~/FiraxisLive"
  rewrite: "~/Games/Sid Meier's Civilization VII/FiraxisLive"

However, launching it with boxxy %command% as the launch option still creates those directory, albeit no data is ever filled in them and it properly uses the save data from the redirected directories. I currently am settling with this launch option to rmdir the empty directory after the game is closed: boxxy %command% && rmdir "~/My Games" && rmdir "~/FiraxisLive" but it's a bit hacky in my eyes.

I'm wondering if I'm missing some rules to prevent it from also creating the directories or something along those lines. If anyone has an answer do let me know. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions