dotless i?
Some checks failed
FModel QA Builder / build (push) Has been cancelled

This commit is contained in:
Asval
2024-08-15 21:56:09 +02:00
parent bf97c0002f
commit 3af527770b
2 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ using CUE4Parse.GameTypes.DBD.Encryption.Aes;
using CUE4Parse.GameTypes.DreamStar.Encryption.Aes; using CUE4Parse.GameTypes.DreamStar.Encryption.Aes;
using CUE4Parse.GameTypes.PAXDEI.Encryption.Aes; using CUE4Parse.GameTypes.PAXDEI.Encryption.Aes;
using CUE4Parse.GameTypes.NetEase.MAR.Encryption.Aes; using CUE4Parse.GameTypes.NetEase.MAR.Encryption.Aes;
using CUE4Parse.GameTypes.FSR.Encryption.Aes; using CUE4Parse.GameTypes.FSR.Encryption.Aes;
using CUE4Parse.GameTypes.DeltaForce.Encryption.Aes; using CUE4Parse.GameTypes.DeltaForce.Encryption.Aes;
using CUE4Parse.UE4.Objects.Core.Misc; using CUE4Parse.UE4.Objects.Core.Misc;
using EpicManifestParser; using EpicManifestParser;
@@ -183,7 +183,7 @@ public class CUE4ParseViewModel : ViewModel
EGame.GAME_DeadByDaylight => DBDAes.DbDDecrypt, EGame.GAME_DeadByDaylight => DBDAes.DbDDecrypt,
EGame.GAME_PaxDei => PaxDeiAes.PaxDeiDecrypt, EGame.GAME_PaxDei => PaxDeiAes.PaxDeiDecrypt,
EGame.GAME_3on3FreeStyleRebound => FreeStyleReboundAes.FSRDecrypt, EGame.GAME_3on3FreeStyleRebound => FreeStyleReboundAes.FSRDecrypt,
EGame.GAME_DreamStar => DreamStarAes.DreamStarDecrypt, EGame.GAME_DreamStar => DreamStarAes.DreamStarDecrypt,
EGame.GAME_DeltaForceHawkOps => DeltaForceAes.DeltaForceDecrypt, EGame.GAME_DeltaForceHawkOps => DeltaForceAes.DeltaForceDecrypt,
_ => Provider.CustomEncryption _ => Provider.CustomEncryption
}; };
@@ -872,7 +872,7 @@ public class CUE4ParseViewModel : ViewModel
{ {
if (fullPath.StartsWith("/")) fullPath = fullPath[1..]; if (fullPath.StartsWith("/")) fullPath = fullPath[1..];
var savedAudioPath = Path.Combine(UserSettings.Default.AudioDirectory, var savedAudioPath = Path.Combine(UserSettings.Default.AudioDirectory,
UserSettings.Default.KeepDirectoryStructure ? fullPath : fullPath.SubstringAfterLast('/')).Replace('\\', '/') + $".{ext.ToLower()}"; UserSettings.Default.KeepDirectoryStructure ? fullPath : fullPath.SubstringAfterLast('/')).Replace('\\', '/') + $".{ext.ToLowerInvariant()}";
if (!UserSettings.Default.IsAutoOpenSounds) if (!UserSettings.Default.IsAutoOpenSounds)
{ {