mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-13 12:14:17 +01:00
Fixes...
This commit is contained in:
parent
c1859ccb24
commit
9af4406c8c
3 changed files with 178 additions and 178 deletions
2
OtterGui
2
OtterGui
|
|
@ -1 +1 @@
|
||||||
Subproject commit f53f754ee559491abae5b70b5dc2368376b61de4
|
Subproject commit 1a3f6237c857562cac85de8f922dbef7bb63c870
|
||||||
|
|
@ -16,13 +16,13 @@ namespace Penumbra.Mods;
|
||||||
|
|
||||||
public partial class Mod
|
public partial class Mod
|
||||||
{
|
{
|
||||||
//public partial class Manager
|
public partial class Manager
|
||||||
|
{
|
||||||
|
//public class Normalizer
|
||||||
//{
|
//{
|
||||||
// public class Normalizer
|
// private Dictionary< Utf8GamePath, (FullPath Path, int GroupPriority) > Files = new();
|
||||||
// {
|
// private Dictionary< Utf8GamePath, (FullPath Path, int GroupPriority) > Swaps = new();
|
||||||
// private Dictionary< Utf8GamePath, List< (FullPath Path, IModGroup Group, ISubMod Option) > > Files = new();
|
// private HashSet< (MetaManipulation Manipulation, int GroupPriority) > Manips = new();
|
||||||
// private Dictionary< Utf8GamePath, List< (FullPath Path, IModGroup Group, ISubMod Option) > > Swaps = new();
|
|
||||||
// private Dictionary< MetaManipulation, List< (MetaManipulation Value, IModGroup Group, ISubMod Option) > > Manips = new();
|
|
||||||
//
|
//
|
||||||
// public Normalizer( Mod mod )
|
// public Normalizer( Mod mod )
|
||||||
// {
|
// {
|
||||||
|
|
@ -190,8 +190,8 @@ public partial class Mod
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
|
||||||
//}
|
//}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Everything
|
// TODO Everything
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ public static class Backup
|
||||||
var configDirectory = Dalamud.PluginInterface.ConfigDirectory.Parent!.FullName;
|
var configDirectory = Dalamud.PluginInterface.ConfigDirectory.Parent!.FullName;
|
||||||
var directory = CreateBackupDirectory();
|
var directory = CreateBackupDirectory();
|
||||||
var (newestFile, oldestFile, numFiles) = CheckExistingBackups( directory );
|
var (newestFile, oldestFile, numFiles) = CheckExistingBackups( directory );
|
||||||
var newBackupName = Path.Combine( directory.FullName, $"{DateTime.Now:yyyyMMddHHmss}.zip" );
|
var newBackupName = Path.Combine( directory.FullName, $"{DateTime.Now:yyyyMMddHHmmss}.zip" );
|
||||||
if( newestFile == null || CheckNewestBackup( newestFile, configDirectory, files.Count ) )
|
if( newestFile == null || CheckNewestBackup( newestFile, configDirectory, files.Count ) )
|
||||||
{
|
{
|
||||||
CreateBackup( files, newBackupName, configDirectory );
|
CreateBackup( files, newBackupName, configDirectory );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue