Add export config directory specification feature (#15235)

This commit is contained in:
wasd845
2024-12-14 00:44:30 +08:00
committed by GitHub
parent 871a040911
commit 85eaa2d373
6 changed files with 41 additions and 10 deletions

View File

@@ -176,7 +176,7 @@ namespace Gui {
*
* If the named preferencePack does not exist, this creates it on disk. If it does exist, this overwrites the original.
*/
void save(const std::string& name, const std::vector<TemplateFile>& templates);
void save(const std::string& name, const std::string& directory, const std::vector<TemplateFile>& templates);
std::vector<TemplateFile> templateFiles(bool rescan = false);