diff --git a/src/ZonyLrcTools.Common/MusicDecryption/DefaultMusicDecryptor.cs b/src/ZonyLrcTools.Common/MusicDecryption/DefaultMusicDecryptor.cs index 1e44629..eec0716 100644 --- a/src/ZonyLrcTools.Common/MusicDecryption/DefaultMusicDecryptor.cs +++ b/src/ZonyLrcTools.Common/MusicDecryption/DefaultMusicDecryptor.cs @@ -24,7 +24,7 @@ namespace ZonyLrcTools.Common.MusicDecryption await file.CopyToAsync(buffer); using var decrypto = DecryptoFactory.Create(buffer, Path.GetFileName(filePath), message => { }); - var outFileName = decrypto.Decrypt().NewName; + var outFileName = (await decrypto.DecryptAsync()).NewName; var outFilePath = Path.Combine(Path.GetDirectoryName(filePath)!, outFileName); if (!File.Exists(outFilePath)) diff --git a/src/ZonyLrcTools.Common/ZonyLrcTools.Common.csproj b/src/ZonyLrcTools.Common/ZonyLrcTools.Common.csproj index 49b44ca..a01f686 100644 --- a/src/ZonyLrcTools.Common/ZonyLrcTools.Common.csproj +++ b/src/ZonyLrcTools.Common/ZonyLrcTools.Common.csproj @@ -11,6 +11,7 @@ + @@ -20,8 +21,4 @@ - - - - diff --git a/vendor/MusicDecrypto b/vendor/MusicDecrypto deleted file mode 160000 index 2d3787f..0000000 --- a/vendor/MusicDecrypto +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2d3787fae6db1551934ee20bf9f6ead7d41ae5ae