Skip to content

Change decks directory option#11193

Open
GiovanniMenzano wants to merge 10 commits into
Card-Forge:masterfrom
GiovanniMenzano:change-decks-directory-option
Open

Change decks directory option#11193
GiovanniMenzano wants to merge 10 commits into
Card-Forge:masterfrom
GiovanniMenzano:change-decks-directory-option

Conversation

@GiovanniMenzano

Copy link
Copy Markdown
Contributor

Adds an option for changing the default decks directory in the desktop version.

The new option is available under Deck editor options. When a user selects a new deck directory, Forge saves the setting and informs the user that a restart is required for the change to take effect.
If the current deck directory contains files, the function also asks the user if they want to migrate existing decks to the newly selected directory. The operation copies files recursively, skips files that already exist in the destination, and leaves the old decks directory untouched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant