Change config dir, offer to migrate

Moment has different default directories and is controlled by
different environment variables. On first startup, Moment
detects Mirage directories and offers to copy them.
It doesn't make sense to migrate logins without migrating encryption
keys, so this is now included in migration. Themes are migrated as well.
Only offer migration is only if both config and data directory are able to be
migrated.
This commit is contained in:
Maze
2022-01-14 19:27:59 +00:00
parent 63a56d92fd
commit 2839f83dde
9 changed files with 268 additions and 29 deletions

2
.gitignore vendored
View File

@@ -16,6 +16,8 @@ dist
Makefile
mirage
mirage.pro.user
moment
moment.pro.user
*.AppImage
tags