mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Small fixes for migration.
This commit is contained in:
parent
d09c30e2f2
commit
1b576469f3
2 changed files with 7 additions and 2 deletions
|
|
@ -189,7 +189,7 @@ namespace Penumbra.Mods
|
|||
=> new( Path.Combine( collectionDir.FullName, $"{name.RemoveInvalidPathSymbols()}.json" ) );
|
||||
|
||||
public FileInfo FileName()
|
||||
=> new( Path.Combine( Service< DalamudPluginInterface >.Get().GetPluginConfigDirectory(),
|
||||
=> new( Path.Combine( Dalamud.PluginInterface.GetPluginConfigDirectory(),
|
||||
$"{Name.RemoveInvalidPathSymbols()}.json" ) );
|
||||
|
||||
public void Save()
|
||||
|
|
|
|||
|
|
@ -35,8 +35,13 @@ namespace Penumbra.Mods
|
|||
|
||||
private void ClearOldTmpDir()
|
||||
{
|
||||
if (!TempWritable)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
TempPath.Refresh();
|
||||
if( TempWritable && TempPath.Exists )
|
||||
if( TempPath.Exists )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue