mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2025-02-16 22:08:26 +00:00
Set attributes for paths to try to fix permission issues on updating
This commit is contained in:
parent
717822e067
commit
bbbb35947c
3 changed files with 16 additions and 0 deletions
Binary file not shown.
|
@ -10,6 +10,20 @@ namespace FirstPlugin
|
|||
{
|
||||
public class BfresPlatformConverter
|
||||
{
|
||||
public static ResNX.ResFile BFRESConvertWiiUToSwitch(ResU.ResFile resFileU)
|
||||
{
|
||||
ResNX.ResFile resFile = new ResNX.ResFile();
|
||||
|
||||
return resFile;
|
||||
}
|
||||
|
||||
public static ResU.ResFile BFRESConvertSwitchToWiiU(ResNX.ResFile resFileNX)
|
||||
{
|
||||
ResU.ResFile resFile = new ResU.ResFile();
|
||||
|
||||
return resFile;
|
||||
}
|
||||
|
||||
//Todo. Bake sizes are altered in switch somewhat, although mostly all animations should be fine
|
||||
|
||||
public static ResNX.MaterialAnim FTXPConvertWiiUToSwitch(ResU.TexPatternAnim texPatternAnim)
|
||||
|
|
|
@ -90,6 +90,8 @@ namespace Updater
|
|||
continue;
|
||||
|
||||
File.SetAttributes(file, FileAttributes.Normal);
|
||||
File.SetAttributes(folderDir, FileAttributes.Normal);
|
||||
|
||||
if (File.Exists(Path.Combine(folderDir, Path.GetFileName(file))))
|
||||
{
|
||||
File.Delete(Path.Combine(folderDir, Path.GetFileName(file)));
|
||||
|
|
Loading…
Add table
Reference in a new issue