Add file attribute modification for read/write permissions in ChineseNfoRegistry
This commit is contained in:
@@ -230,6 +230,8 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
||||
|
||||
try
|
||||
{
|
||||
// 尝试放开文件的读写权限
|
||||
File.SetAttributes(seasonFile, FileAttributes.Normal);
|
||||
episodeXml.Save(seasonFile);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
Reference in New Issue
Block a user