Open rekyuu opened 2 years ago
Taking a look at this now, will adjust it as we discussed and enter a draft pull.
(First thank you, a native Linux launcher is something I have been looking for ages)
It should follow XDG Base Directory specification. See: https://wiki.archlinux.org/title/XDG_Base_Directory.
From what I gathered, this is where files should be located:
$XDG_CONFIG_HOME (usually "~/.config/xlcore")
launcher.ini
dalamudConfig.json
ffxivConfig/* (if possible move screenshots to XDG_HOME_DATA but I assumed that is not possible)
pluginConfigs/*
$XDG_DATA_HOME (usually "~/.local/share/xlcore")
compatibilitytool/*
dalamud/*
dalamudAssets/*
devPlugins/*
installedPlugins/*
patch/*
runtime/*
wineprefix/* DalamudWineHelper.exe secrets.json
$XDG_CACHE_HOME (usually ~/.cache/xlcore")
All log files
Following the specification is nice but I would be happy just by not having the directory on my home directory. So putting everything on .config/
would be a fine solution for me.
As much as I'd love to make the application entirely XDG compliant (I hate unnecessary items in my home folder), there's a desire to keep the files together much like how XIVLauncher currently operates on Windows. XDG_DATA_HOME maybe a good final resting place for the entire .xlcore folder.
XDG_CONFIG_HOME
Implement a backup system for the config folder(maybe not necessary)Version
Native/Core version (Linux)
Platform
Linux (native)