Remove redundant code for setting file permissions in ChineseNfoRegistry
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 12s
Docker Build & Deploy / Deploy to Production (push) Successful in 3s

This commit is contained in:
孙诚
2025-03-19 14:54:23 +08:00
parent a685a324b6
commit f3a1b8be3f

View File

@@ -246,14 +246,6 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
try
{
// 尝试放开Linux文件的读写权限
var fileInfo = new FileInfo(episodeFile)
{
Attributes = FileAttributes.Normal,
IsReadOnly = false
};
fileInfo.Refresh();
episodeXml.Save(episodeFile);
}
catch (Exception e)